On Mon, Feb 21, 2022 at 2:51 AM Dilip Kumar <dilipbal...@gmail.com> wrote: > While working on this I realized that even if we make the relfilenode > 56 bits we can not remove the loop inside GetNewRelFileNode() for > checking the file existence. Because it is always possible that the > file reaches to the disk even before the WAL for advancing the next > relfilenode and if the system crashes in between that then we might > generate the duplicate relfilenode right?
I agree. > I think the second paragraph in XLogPutNextOid() function explain this > issue and now even after we get the wider relfilenode we will have > this issue. Correct? I think you are correct. -- Robert Haas EDB: http://www.enterprisedb.com