File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,19 @@ def test_0_0_0(self):
27
27
28
28
time .sleep (10 )
29
29
subprocess .check_call (['blockade' ,'partition' ,'node3' ])
30
+ print ('### blockade node3 ###' )
30
31
31
32
self .clients .set_acc_to_tx (10000 )
32
33
self .clients .start ()
33
34
35
+ for i in range (10 ):
36
+ time .sleep (3 )
37
+ self .clients .print_agg ()
38
+ print ("\n " )
39
+
40
+ subprocess .check_call (['blockade' ,'join' ])
41
+ print ('### deblockade node3 ###' )
42
+
34
43
for i in range (1000 ):
35
44
time .sleep (3 )
36
45
self .clients .print_agg ()
Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ void worker_register(WorkerConfig *cfg)
488
488
BackgroundWorker worker = {};
489
489
strcpy (worker .bgw_name , "raftable worker" );
490
490
worker .bgw_flags = BGWORKER_SHMEM_ACCESS ;
491
- worker .bgw_start_time = BgWorkerStart_PostmasterStart ;
491
+ worker .bgw_start_time = BgWorkerStart_ConsistentState ; /* BgWorkerStart_PostmasterStart;*/
492
492
worker .bgw_restart_time = 1 ;
493
493
worker .bgw_main = worker_main ;
494
494
worker .bgw_main_arg = PointerGetDatum (cfg );
You can’t perform that action at this time.
0 commit comments