fsync error handling in pg_receivewal, pg_recvlogical - Mailing list pgsql-hackers

From Peter Eisentraut
Subject fsync error handling in pg_receivewal, pg_recvlogical
Date
Msg-id 9b49fe44-8f3e-eca9-5914-29e9e99030bf@2ndquadrant.com
Whole thread Raw
Responses Re: fsync error handling in pg_receivewal, pg_recvlogical
List pgsql-hackers
Do we need to review the fsync error handling in pg_receivewal and
pg_recvlogical, following the recent backend changes?  The current
default behavior is that these tools will log fsync errors and then
reconnect and proceed with the next data streaming in.  As a result, you
might then have some files in the accumulated WAL that have not been
fsynced.  Perhaps a hard exit would be more appropriate?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: David Steele
Date:
Subject: Re: Re: pg_basebackup ignores the existing data directory permissions
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Improve autovacuum logging for aggressive andanti-wraparound ru