Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b2a0c80

Browse files
committed
fix arbiter connection for select-based version
1 parent 592364c commit b2a0c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arbiter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static void MtmTransReceiver(Datum arg)
605605
} while (n < 0 && errno == EINTR);
606606
} while (n < 0 && MtmRecovery());
607607

608-
if (rc < 0) {
608+
if (n < 0) {
609609
elog(ERROR, "Arbiter failed to select sockets: %d", errno);
610610
}
611611
for (i = 0; i < nNodes; i++) {

0 commit comments

Comments
 (0)