pgsql: Wake up interested backends when a checkpoint fails.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Wake up interested backends when a checkpoint fails.
Date: 2019-04-05 20:32:26
Message-ID: E1hCVVi-0005PA-3c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/de2b38419c4018fc8c2c917cc2cc752063096cfb

Modified Files
--------------
src/backend/postmaster/checkpointer.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-04-05 21:09:10 pgsql: Add facility to copy replication slots
Previous Message Robert Haas 2019-04-05 19:28:41 pgsql: Fix missing word.