Re: Fwd: Re: A new look at old NFS readdir() problems? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fwd: Re: A new look at old NFS readdir() problems?
Date
Msg-id 1690546.1736368905@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: Re: A new look at old NFS readdir() problems?  (David Steele <david@pgbackrest.org>)
List pgsql-hackers
David Steele <david@pgbackrest.org> writes:
> On 1/8/25 12:40, Bruce Momjian wrote:
>> Will people now always get a clear error on failure?  

> The error will be something like "directory is not empty" when trying to 
> drop a database. So not very clear at all.

Conceivably we could adjust rmtree() to print a HINT mentioning that
unsafe network storage is a possible cause of this error.  But I'm
a little worried that that'd be crying wolf, because on most setups
a much more likely explanation is somebody concurrently creating a
file in the targeted directory.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?
Next
From: Sami Imseih
Date:
Subject: Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?