Skip to content

Commit

Permalink
Undo diasming VM check warning in vacuumlazy.c (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
knizhnik authored and tristan957 committed Nov 8, 2023
1 parent 26fcfba commit ad4b183
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/backend/access/heap/vacuumlazy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1496,10 +1496,7 @@ lazy_scan_heap(LVRelState *vacrel, VacuumParams *params, bool aggressive)
else if (all_visible_according_to_vm && !PageIsAllVisible(page)
&& VM_ALL_VISIBLE(vacrel->rel, blkno, &vmbuffer))
{
/* ZENITH-XXX: all visible hint is not wal-logged
* FIXME: Replay visibilitymap changes in pageserver
*/
elog(DEBUG1, "page is not marked all-visible but visibility map bit is set in relation \"%s\" page %u",
elog(WARNING, "page is not marked all-visible but visibility map bit is set in relation \"%s\" page %u",
vacrel->relname, blkno);
visibilitymap_clear(vacrel->rel, blkno, vmbuffer,
VISIBILITYMAP_VALID_BITS);
Expand Down

0 comments on commit ad4b183

Please sign in to comment.