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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Steele <david(at)pgbackrest(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Greg Sabino Mullane <htamfids(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Larry Rosenman <ler(at)lerctr(dot)org>, Pgsql hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fwd: Re: A new look at old NFS readdir() problems?
Date: 2025-01-08 20:23:02
Message-ID: Z37ept17aRTyPJn5@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 8, 2025 at 03:21:27PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-01-08 20:23:45 Re: use a non-locking initial test in TAS_SPIN on AArch64
Previous Message Guillaume Lelarge 2025-01-08 20:21:46 Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?