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

Commit9e7d476

Browse files
committed
Move watchdog check under lock
1 parent883d363 commit9e7d476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/mmts/multimaster.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,8 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
801801
intnConfigChanges=Mtm->nConfigChanges;
802802
/* wait votes from all nodes */
803803
while (!ts->votingCompleted) {
804-
MtmUnlock();
805804
MtmWatchdog();
805+
MtmUnlock();
806806
result=WaitLatch(&MyProc->procLatch,WL_LATCH_SET|WL_TIMEOUT,timeout);
807807
if (result&WL_LATCH_SET) {
808808
ResetLatch(&MyProc->procLatch);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp