forked from neondatabase/neon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pageserver: log critical error on
ClearVmBits
for unknown pages (ne…
…ondatabase#10634) ## Problem In neondatabase#9895, we fixed some issues where `ClearVmBits` were broadcast to all shards, even those not owning the VM relation. As part of that, we found some ancient code from neondatabase#1417, which discarded spurious incorrect `ClearVmBits` records for pages outside of the VM relation. We added observability in neondatabase#9911 to see how often this actually happens in the wild. After two months, we have not seen this happen once in production or staging. However, out of caution, we don't want a hard error and break WAL ingestion. Resolves neondatabase#10067. ## Summary of changes Log a critical error when ingesting `ClearVmBits` for unknown VM relations or pages.
- Loading branch information
1 parent
bca9d97
commit 96485ce
Showing
2 changed files
with
49 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters