Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit381c644

Browse files
committed
Fix bug in handling connection errors
1 parent22dacb8 commit381c644

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
elseif (events[j].events&EPOLLIN)
664664
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp