Re: pgsql: Checkpointer starts before bgwriter to avoid missing fsync reque - Mailing list pgsql-committers

From Heikki Linnakangas
Subject Re: pgsql: Checkpointer starts before bgwriter to avoid missing fsync reque
Date
Msg-id 4FC87570.1090002@enterprisedb.com
Whole thread Raw
In response to pgsql: Checkpointer starts before bgwriter to avoid missing fsync reque  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-committers
On 01.06.2012 10:28, Simon Riggs wrote:
> Checkpointer starts before bgwriter to avoid missing fsync requests.
> Noted while testing Hot Standby startup.

The processes are just forked and it will take some time for them to
initialize. Isn't there still a race condition, where the bgwriter
starts up first, and you still miss fsync requests?

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Checkpointer starts before bgwriter to avoid missing fsync reque
Next
From: Simon Riggs
Date:
Subject: pgsql: After any checkpoint, close all smgr files handles in bgwriter