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

Commit9c3adf8

Browse files
committed
Do not call MtmCheckState() without lock
1 parent9a81a5b commit9c3adf8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎state.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,9 @@ MtmRefreshClusterStatus()
388388
* Periodical check that we are still in RECOVERED state.
389389
* See comment to MTM_RECOVERED -> MTM_ONLINE transition in MtmCheckState()
390390
*/
391+
MtmLock(LW_EXCLUSIVE);
391392
MtmCheckState();
393+
MtmUnlock();
392394

393395
/*
394396
* Check for referee decision when only half of nodes are visible.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp