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

Commit 0adf743

Browse files
knizhnikkelvich
authored andcommitted
Fix timeout expiration check
1 parent 9eb1afb commit 0adf743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
841841

842842
timestamp_t start = MtmGetSystemTime();
843843
/* wait votes from all nodes */
844-
while (!ts->votingCompleted && start + transTimeout >= MtmGetSystemTime())
844+
while (!ts->votingCompleted && start + transTimeout < MtmGetSystemTime())
845845
{
846846
MtmUnlock();
847847
MtmWatchdog();

0 commit comments

Comments
 (0)