Skip to content

Commit 381c644

Browse files
committed
Fix bug in handling connection errors
1 parent 22dacb8 commit 381c644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mmts/arbiter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ static void MtmTransReceiver(Datum arg)
658658
i = events[j].data.u32;
659659
if (events[j].events & EPOLLERR) {
660660
elog(WARNING, "Arbiter lost connection with node %d", i+1);
661-
MtmDisconnect(j);
661+
MtmDisconnect(i);
662662
}
663663
else if (events[j].events & EPOLLIN)
664664
#else

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