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

Commitde2b384

Browse files
committed
Wake up interested backends when a checkpoint fails.
Commitc6c9474 switched to condition variables instead of sleeploops to notify backends of checkpoint start and stop, but forgotto broadcast in case of checkpoint failure.Author: Thomas MunroDiscussion:https://postgr.es/m/CA%2BhUKGJKbCd%2B_K%2BSEBsbHxVT60SG0ivWHHAdvL0bLTUt2xpA2w%40mail.gmail.com
1 parent6665305 commitde2b384

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/postmaster/checkpointer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ CheckpointerMain(void)
279279
CheckpointerShmem->ckpt_done=CheckpointerShmem->ckpt_started;
280280
SpinLockRelease(&CheckpointerShmem->ckpt_lck);
281281

282+
ConditionVariableBroadcast(&CheckpointerShmem->done_cv);
283+
282284
ckpt_active= false;
283285
}
284286

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp