pgsql: Teach RequestCheckpoint() to wait and retry a few times if it

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach RequestCheckpoint() to wait and retry a few times if it
Date: 2008-11-23 01:40:19
Message-ID: 20081123014019.5449A7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Teach RequestCheckpoint() to wait and retry a few times if it can't signal
the bgwriter immediately. This covers the case where the bgwriter is still
starting up, as seen in a recent buildfarm failure. In future it might also
assist with clean recovery after a bgwriter termination and restart ---
right now the postmaster treats early bgwriter exit as a system crash,
but that might not always be so.

Modified Files:
--------------
pgsql/src/backend/postmaster:
bgwriter.c (r1.53 -> r1.54)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c?r1=1.53&r2=1.54)

Browse pgsql-committers by date

  From Date Subject
Next Message User H-saito 2008-11-23 02:50:24 psqlodbc - psqlodbc: take some notes.
Previous Message User Hinoue 2008-11-23 01:00:53 psqlodbc - psqlodbc: The version is now 8.3.0401.