Skip to content

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;
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy