File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -911,6 +911,7 @@ void MtmReceiver(Datum arg)
911
911
MtmDisconnect (i );
912
912
}
913
913
}
914
+ now = MtmGetSystemTime ();
914
915
for (j = 0 ; j < n ; j ++ ) {
915
916
if (events [j ].events & EPOLLIN )
916
917
#else
@@ -935,6 +936,7 @@ void MtmReceiver(Datum arg)
935
936
if (n < 0 ) {
936
937
MTM_ELOG (ERROR , "Arbiter failed to select sockets: %s" , strerror (errno ));
937
938
}
939
+ now = MtmGetSystemTime ();
938
940
for (i = 0 ; i < nNodes ; i ++ ) {
939
941
if (sockets [i ] >= 0 && FD_ISSET (sockets [i ], & events ))
940
942
#endif
@@ -1188,7 +1190,6 @@ void MtmReceiver(Datum arg)
1188
1190
}
1189
1191
}
1190
1192
if (Mtm -> status == MTM_ONLINE ) {
1191
- now = MtmGetSystemTime ();
1192
1193
/* Check for heartbeats only in case of timeout expiration: it means that we do not have non-processed events.
1193
1194
* It helps to avoid false node failure detection because of blocking receiver.
1194
1195
*/
You can’t perform that action at this time.
0 commit comments