mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 10:22:56 +00:00
Reset local relation cache in walredo
This commit is contained in:
@@ -759,6 +759,11 @@ BeginRedoForBlock(StringInfo input_message)
|
||||
{
|
||||
reln->smgr_cached_nblocks[forknum] = blknum + 1;
|
||||
}
|
||||
if (taget_redo_tag.forkNum == MAIN_FORKNUM)
|
||||
{
|
||||
reln->smgr_cached_nblocks[FSM_FORKNUM] = MaxBlockNumber;
|
||||
reln->smgr_cached_nblocks[VISIBILITYMAP_FORKNUM] = MaxBlockNumber;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user