On Wed, Dec 22, 2021 at 9:32 AM Ashutosh Sharma <ashu.coe...@gmail.com> wrote: > I couldn't find the mdpostchkpt() function. Are you talking about > SyncPostCheckpoint() ? Anyway, as you have rightly said, we need to > unlink all the files available inside the dst_tablespaceoid/dst_dboid/ > directory by scanning the pendingUnlinks list. And finally we don't > want the next checkpoint to unlink this file again and PANIC so for > that we have to update the entry for this unlinked rel file in the > hash table i.e. cancel the sync request for it.
Until commit 3eb77eba5a51780d5cf52cd66a9844cd4d26feb0 in April 2019, there was an mdpostckpt function, which is probably what was meant here. -- Robert Haas EDB: http://www.enterprisedb.com