Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit babf91f

Browse files
committed
Add logging to raftable
1 parent 737f38a commit babf91f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contrib/mmts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ USER postgres
3131
ENV CFLAGS -O0
3232
WORKDIR /pg
3333

34-
ENV REBUILD 3
34+
ENV REBUILD 4
3535

3636
RUN cd /pg && \
3737
git clone https://github.com/postgrespro/postgres_cluster.git --depth 1 && \

contrib/raftable/worker.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ static void worker_main(Datum arg)
443443
WorkerConfig *cfg = (WorkerConfig *)(arg);
444444
StateP state = (StateP)cfg->getter();
445445

446+
fprintf(stderr, "raftable worker_main(): stop = %d\n", stop);
447+
446448
cfg->raft_config.userdata = state;
447449
cfg->raft_config.applier = applier;
448450
cfg->raft_config.snapshooter = snapshooter;

0 commit comments

Comments
 (0)