@@ -35,16 +35,16 @@ test_log_crash(clockcache *cc,
3535 bool32 crash )
3636
3737{
38- platform_status rc ;
39- log_handle * logh ;
40- uint64 i ;
41- key returned_key ;
42- message returned_message ;
43- log_head segment ;
44- log_iterator * itor ;
45- char key_str [128 ];
46- char data_str [128 ];
47- merge_accumulator msg ;
38+ platform_status rc ;
39+ log_handle * logh ;
40+ uint64 i ;
41+ key returned_key ;
42+ message returned_message ;
43+ log_head segment ;
44+ log_iterator * itor ;
45+ char key_str [128 ];
46+ char data_str [128 ];
47+ merge_accumulator msg ;
4848 DECLARE_AUTO_KEY_BUFFER (keybuffer , hid );
4949
5050 platform_assert (cc != NULL );
@@ -178,7 +178,7 @@ test_log_write_range(log_handle *logh,
178178static void
179179test_log_verify_segment (cache * cc ,
180180 shard_log_config * cfg ,
181- const log_head * segment ,
181+ const log_head * segment ,
182182 test_message_generator * gen ,
183183 platform_heap_id hid ,
184184 uint64 key_size ,
@@ -244,9 +244,9 @@ test_log_two_segments(clockcache *cc,
244244 test_message_generator * gen ,
245245 uint64 key_size )
246246{
247- const uint64 old_first = 1000 , old_count = 16 ;
248- const uint64 new_first = 2000 , new_count = 16 ;
249- log_head sealed , fresh ;
247+ const uint64 old_first = 1000 , old_count = 16 ;
248+ const uint64 new_first = 2000 , new_count = 16 ;
249+ log_head sealed , fresh ;
250250
251251 log_handle * log = shard_log_create ((cache * )cc , cfg , hid );
252252 platform_assert (log != NULL );
@@ -304,15 +304,15 @@ test_log_two_segments(clockcache *cc,
304304static int
305305test_log_large_message (cache * cc , shard_log_config * cfg , platform_heap_id hid )
306306{
307- platform_status rc ;
308- log_head sealed ;
309- log_iterator * itor ;
310- merge_accumulator msg ;
311- key returned_key ;
312- message returned_message ;
313- char key_data [] = "large-log-key" ;
314- key skey = key_create (FALSE, sizeof (key_data ) - 1 , key_data );
315- uint64 value_len = 3 * cache_page_size (cc ) + 123 ;
307+ platform_status rc ;
308+ log_head sealed ;
309+ log_iterator * itor ;
310+ merge_accumulator msg ;
311+ key returned_key ;
312+ message returned_message ;
313+ char key_data [] = "large-log-key" ;
314+ key skey = key_create (FALSE, sizeof (key_data ) - 1 , key_data );
315+ uint64 value_len = 3 * cache_page_size (cc ) + 123 ;
316316
317317 log_handle * logh = shard_log_create (cc , cfg , hid );
318318 platform_assert (logh != NULL );
0 commit comments