Skip to content

Commit f9a29ec

Browse files
committed
send PollMessages to disabled nodes too
1 parent 76c96f6 commit f9a29ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multimaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ static void MtmBroadcastPollMessage(MtmTransState* ts)
16911691

16921692
for (i = 0; i < Mtm->nAllNodes; i++)
16931693
{
1694-
if (BIT_CHECK(ts->participantsMask & ~Mtm->disabledNodeMask, i))
1694+
if (BIT_CHECK(ts->participantsMask, i))
16951695
{
16961696
msg.node = i+1;
16971697
MTM_LOG3("Send request for transaction %s to node %d", msg.gid, msg.node);
@@ -1735,7 +1735,7 @@ static void MtmLoadPreparedTransactions(void)
17351735
ts->gtid.xid = xid;
17361736
ts->nSubxids = 0;
17371737
ts->votingCompleted = true;
1738-
ts->participantsMask = (((nodemask_t)1 << Mtm->nAllNodes) - 1) & ~Mtm->disabledNodeMask & ~((nodemask_t)1 << (MtmNodeId-1));
1738+
ts->participantsMask = (((nodemask_t)1 << Mtm->nAllNodes) - 1) & ~((nodemask_t)1 << (MtmNodeId-1));
17391739
ts->nConfigChanges = Mtm->nConfigChanges;
17401740
ts->votedMask = 0;
17411741
strcpy(ts->gid, gid);

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