For wal_consistency_checking, mask page checksum as well as page LSN.
Robert Haas <rhaas@postgresql.org>
For wal_consistency_checking, mask page checksum as well as page LSN. If the LSN is different, the checksum will be different, too. Ashwin Agrawal, reviewed by Michael Paquier and Kuntal Ghosh Discussion: http://postgr.es/m/CALfoeis5iqrAU-+JAN+ZzXkpPr7+-0OAGv7QUHwFn=-wDy4o4Q@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/brin/brin_xlog.c | modified | +1 −1 |
| src/backend/access/common/bufmask.c | modified | +5 −3 |
| src/backend/access/gin/ginxlog.c | modified | +1 −1 |
| src/backend/access/gist/gistxlog.c | modified | +2 −2 |
| src/backend/access/hash/hash_xlog.c | modified | +1 −1 |
| src/backend/access/heap/heapam.c | modified | +1 −1 |
| src/backend/access/nbtree/nbtxlog.c | modified | +1 −1 |
| src/backend/access/spgist/spgxlog.c | modified | +1 −1 |
| src/backend/access/transam/generic_xlog.c | modified | +1 −1 |
| src/backend/commands/sequence.c | modified | +1 −1 |
| src/include/access/bufmask.h | modified | +1 −1 |
Discussion
- "inconsistent page found" with checksum and wal_consistency_checking enabled 7 messages · 2017-09-19 → 2017-09-22