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

Commit d14201b

Browse files
committed
do not poll tx status for disabled node, it causes more problems than it solves
1 parent 1bbdd10 commit d14201b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

state.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,9 @@ void MtmDisableNode(int nodeId)
287287

288288
if (Mtm->status == MTM_ONLINE) {
289289
/* Make decision about prepared transaction status only in quorum */
290-
MtmLock(LW_EXCLUSIVE);
291-
MtmPollStatusOfPreparedTransactionsForDisabledNode(nodeId, false);
292-
MtmUnlock();
290+
//MtmLock(LW_EXCLUSIVE);
291+
//MtmPollStatusOfPreparedTransactionsForDisabledNode(nodeId, false);
292+
//MtmUnlock();
293293
}
294294
}
295295

0 commit comments

Comments
 (0)