Re: Fwd: Re: A new look at old NFS readdir() problems?
Larry Rosenman <ler@lerctr.org>
From: Larry Rosenman <ler@lerctr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <tmunro@freebsd.org>, Bruce Momjian <bruce@momjian.us>,
Pgsql hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-01-02T22:58:35Z
Lists: pgsql-hackers
On 01/02/2025 4:56 pm, Tom Lane wrote: > Larry Rosenman <ler@lerctr.org> writes: >> Would it make sense for ONLY drop database to have the above loop? > > Not really. We'd just be papering over the most-easily-observable > consequence of readdir's malfeasance. There'd still be problems > like basebackups omitting files, missed fsyncs potentially leading > to data loss, etc. > > I am sort of wondering though why we've not heard reports of this > many times before. Did FreeBSD recently change something in this > area? Also, if as they argue it's a fundamental problem in the NFS > protocol, why are we failing to reproduce it with other clients? > > regards, tom lane Pre version 16, we worked just fine. There was a change in 16. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 13425 Ranch Road 620 N, Apt 718, Austin, TX 78717-1010