Wake up interested backends when a checkpoint fails.

Thomas Munro <tmunro@postgresql.org>

Commit: de2b38419c4018fc8c2c917cc2cc752063096cfb
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2019-04-05T20:31:48Z
Releases: 12.0
Wake up interested backends when a checkpoint fails.

Commit c6c9474a switched to condition variables instead of sleep
loops to notify backends of checkpoint start and stop, but forgot
to broadcast in case of checkpoint failure.

Author: Thomas Munro
Discussion: https://postgr.es/m/CA%2BhUKGJKbCd%2B_K%2BSEBsbHxVT60SG0ivWHHAdvL0bLTUt2xpA2w%40mail.gmail.com

Files

PathChange+/−
src/backend/postmaster/checkpointer.c modified +2 −0

Discussion