Content-Length: 257226 | pFad | http://github.com/postgrespro/postgres_cluster/commit/381c6443a38e8ccd20a5686c1022cb6c1f6ea8e4

87 Fix bug in handling connection errors · postgrespro/postgres_cluster@381c644 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/381c6443a38e8ccd20a5686c1022cb6c1f6ea8e4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy