Re: Fwd: Re: A new look at old NFS readdir() problems?

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Steele <david@pgbackrest.org>, Thomas Munro <thomas.munro@gmail.com>, Greg Sabino Mullane <htamfids@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Larry Rosenman <ler@lerctr.org>, Pgsql hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-01-08T20:23:02Z
Lists: pgsql-hackers
On Wed, Jan  8, 2025 at 03:21:27PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Will people now always get a clear error on failure?  Crazy idea, but
> > could we have initdb or postmaster start test this? 
> 
> It'd require adding quite a lot of cycles: I'd guess you'd need to
> create/drop a hundred or a thousand files to be sure of seeing the
> problem.
> 
> Another problem is that even if the primary data directory is okay,
> a tablespace could be created on a filesystem that's not okay.
> 
> I doubt that it's worth it.

Oh, I thought if it could be recreated using just two files, it would be
worth it --- obviously not.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.