Re: smgr vs DropRelFileNodeBuffers() vs filesystem state vs no critical section

2019-12-23 Thread Andres Freund
Hi, On 2019-12-07 11:07:04 +0530, Amit Kapila wrote: > On Sat, Dec 7, 2019 at 5:42 AM Andres Freund wrote: > > > > Tom, I seem to recall a recent thread of yours discussing a different > > approach to truncation. I wonder if there's some intersection with > > that. But unfortunately my search som

Re: smgr vs DropRelFileNodeBuffers() vs filesystem state vs no critical section

2019-12-06 Thread Amit Kapila
On Sat, Dec 7, 2019 at 5:42 AM Andres Freund wrote: > > Tom, I seem to recall a recent thread of yours discussing a different > approach to truncation. I wonder if there's some intersection with > that. But unfortunately my search somehow has come up with nothing so > far - do you remember enough

smgr vs DropRelFileNodeBuffers() vs filesystem state vs no critical section

2019-12-06 Thread Andres Freund
Hi, [1] made me notice these issues. The issues here are mostly independent, but it's still worthwhile to read that thread - in particular because my proposed solution for the problem is possibly somewhat related to this issue. And, if we were to go for my more extreme proposal below, the fix for