Skip to content

Commit e25c977

Browse files
afiskonkelvich
authored andcommitted
Typos fixed
1 parent 541cf63 commit e25c977

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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)
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