File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ USER postgres
31
31
ENV CFLAGS -O0
32
32
WORKDIR /pg
33
33
34
- ENV REBUILD 9
34
+ ENV REBUILD 10
35
35
36
36
RUN cd /pg && \
37
37
git clone https://github.com/postgrespro/postgres_cluster.git --depth 1 && \
Original file line number Diff line number Diff line change @@ -710,7 +710,9 @@ static void MtmTransSender(Datum arg)
710
710
txBuffer [i ].used = 0 ;
711
711
}
712
712
}
713
+ CHECK_FOR_INTERRUPTS ();
713
714
}
715
+ elog (LOG , "Stop arbiter sender %d" , MyProcPid );
714
716
}
715
717
716
718
Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ static void worker_main(Datum arg)
445
445
446
446
elog (LOG , "Start raftable worker" );
447
447
448
- state = ( StateP ) get_shared_state ();
448
+ state = get_shared_state ();
449
449
450
450
cfg -> raft_config .userdata = state ;
451
451
cfg -> raft_config .applier = applier ;
@@ -487,6 +487,7 @@ static void worker_main(Datum arg)
487
487
raft_handle_message (raft , m );
488
488
notify ();
489
489
}
490
+ CHECK_FOR_INTERRUPTS ();
490
491
}
491
492
elog (LOG , "Raftable worker stopped" );
492
493
}
You can’t perform that action at this time.
0 commit comments