BUG #13350: blindly fsyncing data dir considered harmful

From: andrew(at)tao11(dot)riddles(dot)org(dot)uk
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13350: blindly fsyncing data dir considered harmful
Date: 2015-05-25 14:26:57
Message-ID: 20150525142657.4686.35151@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

The following bug has been logged on the website:

Bug reference: 13350
Logged by: Andrew Gierth
Email address: andrew(at)tao11(dot)riddles(dot)org(dot)uk
PostgreSQL version: 9.1.16
Operating system: Debian (and probably others)
Description:

The addition of a recursive fsync of the data dir on startup (in the absence
of a clean shutdown) causes startup to fail if the data dir contains
symlinks to files which the postgres user can't write to.

This is the standard configuration for many SSL-enabled setups, including
the standard debian packaging defaults. Accordingly, crash recovery now
ALWAYS fails on such systems without manual intervention.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephen Frost 2015-05-25 15:12:43 Re: [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Previous Message Heikki Linnakangas 2015-05-25 11:55:09 Re: BUG #13349: Recheck logic with index mixed up when used with LATERAL

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-05-25 15:12:43 Re: [BUGS] BUG #13350: blindly fsyncing data dir considered harmful
Previous Message Piotr Gasidło 2015-05-25 13:15:03 Re: Strange replication problem - segment restored from archive but still requested from master