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

Commit bf5bd84

Browse files
committed
Unblock signals inn raftable
1 parent 9590df0 commit bf5bd84

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 6
34+
ENV REBUILD 7
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
@@ -465,6 +465,8 @@ static void worker_main(Datum arg)
465465
sigfillset(&sset);
466466
sigprocmask(SIG_UNBLOCK, &sset, NULL);
467467

468+
BackgroundWorkerUnblockSignals();
469+
468470
server.raftsock = raft_create_udp_socket(raft);
469471
add_socket(server.raftsock);
470472
add_socket(server.listener);

0 commit comments

Comments
 (0)