Re: Orphaned files in base/[oid]

2023-05-12 Thread Alexey Gordeev
On 14.08.2017 23:56, Andres Freund wrote: Alternatively we could do something without marker files, with some added complexity: Keep track of all "uncommitted new files" in memory, and log them every checkpoint. Commit/abort records clear elements of that list. Since we always start replay at the

Re: Orphaned files in base/[oid]

2023-05-12 Thread Alexey Gordeev
 12.05.2023, 14:17, "Andres Freund" :Alternatively we could do something without marker files, with someadded complexity: Keep track of all "uncommitted new files" in memory,and log them every checkpoint. Commit/abort records clear elements ofthat list. Since we always start replay at the beginning