Larry Rosenman <ler@lerctr.org> writes:
> On 01/02/2025 4:56 pm, Tom Lane wrote:
>> 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?
> Pre version 16, we worked just fine. There was a change in 16.
Well, as Thomas already mentioned, rmtree() used to work by reading
the directory and making an in-memory copy of the whole file list
before it started to delete anything. But reverting that wouldn't
fix all of the other problems that we now know exist. (In other
words, "we worked just fine" only for small values of "fine".)
regards, tom lane