> 4 авг. 2020 г., в 03:44, Peter Geoghegan <p...@bowt.ie> написал(а): > > On Mon, Jul 20, 2020 at 11:46 AM Andrey M. Borodin <x4...@yandex-team.ru> > wrote: >> In this thread [0] we decided that lock coupling is necessary for >> btree_xlog_unlink_page(). >> So, maybe let's revive this patch? > > Yes, let's do that. Can you resubmit it, please?
PFA v3. Changes: fixed few typos in comments. BTW, reviewing this patch again I cannot understand why we verify link coherence only on leaf level but not for internal pages? I do not see any actual problems here. Corruption detection power of leftlink-rightlinks on internal pages is diminishingly small compared to leaf pages. But there seems to be no reason to exclude internal pages? Thanks! Best regards, Andrey Borodin.
v3-0001-In-amcheck-nbtree-do-rightlink-verification-with-.patch
Description: Binary data