fsync error handling in pg_receivewal, pg_recvlogical

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: fsync error handling in pg_receivewal, pg_recvlogical
Date: 2019-03-29 11:48:09
Message-ID: 9b49fe44-8f3e-eca9-5914-29e9e99030bf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2019-03-29 11:51:38 Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru
Previous Message David Steele 2019-03-29 11:35:49 Re: Re: pg_basebackup ignores the existing data directory permissions