Skip to content

Commit d49da00

Browse files
committed
Typos fixed
1 parent c5107f9 commit d49da00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contrib/mmts/multimaster.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,11 +1851,11 @@ void MtmRecoveryCompleted(void)
18511851
{
18521852
MtmSwitchClusterMode(MTM_ONLINE);
18531853
} else {
1854-
/* Delay switching mode to online mode and keep cluster lock to make it possible to all other nodes restablish
1855-
* locagical replication connections with this node.
1856-
* Under the intensive workload start of logical replication can be dealys for unpredicatable amount of time
1854+
/* Delay switching mode to online mode and keep cluster lock to make it possible to all other nodes reestablish
1855+
* logical replication connections with this node.
1856+
* Under the intensive workload start of logical replication can be delayed for unpredictable amount of time
18571857
*/
1858-
BIT_SET(Mtm->nodeLockerMask, MtmNodeId-1); /* it is trik: this mask was originally use by WAL senders performing recovery, but here we are in opposite (recovered) side:
1858+
BIT_SET(Mtm->nodeLockerMask, MtmNodeId-1); /* it is trick: this mask was originally used by WAL senders performing recovery, but here we are in opposite (recovered) side:
18591859
* if this mask is not zero loadReq will be broadcasted to all other nodes by heartbeat, suspending their activity
18601860
*/
18611861
MtmSwitchClusterMode(MTM_RECOVERED);

0 commit comments

Comments
 (0)