Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: try to make restored-datadir comparison tests not flaky (#6666)
This test occasionally fails with a difference in "pg_xact/0000" file between the local and restored datadirs. My hypothesis is that something changed in the database between the last explicit checkpoint and the shutdown. I suspect autovacuum, it could certainly create transactions. To fix, be more precise about the point in time that we compare. Shut down the endpoint first, then read the last LSN (i.e. the shutdown checkpoint's LSN), from the local disk with pg_controldata. And use exactly that LSN in the basebackup. Closes #559. I'm proposing this as an alternative to #6662.
- Loading branch information
568f914
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2481 tests run: 2354 passed, 3 failed, 124 skipped (full report)
Failures on Postgres 16
test_subxacts
: debugFailures on Postgres 14
test_pageserver_max_throughput_getpage_at_latest_lsn[1-6-30]
: releasetest_pageserver_max_throughput_getpage_at_latest_lsn[1-13-30]
: releaseTest coverage report is not available
568f914 at 2024-02-09T10:53:43.101Z :recycle: