8000 Do not mark node as disabled on logical replication connection failure · postgrespro/postgres_cluster@a43e07b · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a43e07b

Browse files
committed
Do not mark node as disabled on logical replication connection failure
1 parent 07bb0c3 commit a43e07b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/mmts/multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ bool MtmRecoveryCaughtUp(int nodeId, XLogRecPtr slotLSN)
10771077
BIT_CLEAR(Mtm->nodeLockerMask, nodeId-1);
10781078
Mtm->nLockers -= 1;
< 8000 code>10791079
} else {
1080-
MTM_LOG1("%d: dode %d is caugth-up without locking cluster", MyProcPid, nodeId);
1080+
MTM_LOG1("%d: node %d is caugth-up without locking cluster", MyProcPid, nodeId);
10811081
/* We are lucky: caugth-up without locking cluster! */
10821082
}
10831083
BIT_CLEAR(Mtm->disabledNodeMask, nodeId-1);

contrib/mmts/pglogical_receiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ pglogical_receiver_main(Datum main_arg)
249249
PQfinish(conn);
250250
ereport(WARNING, (errmsg("%s: Could not establish connection to remote server",
251251
worker_proc)));
252-
MtmOnNodeDisconnect(args->remote_node);
252+
/* MtmOnNodeDisconnect(args->remote_node); */
253253
proc_exit(1);
254254
}
255255

0 commit comments

Comments
 (0)
0