Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more involved WAL checkpoint unit test #1615

Merged
merged 8 commits into from
Jan 19, 2024

Conversation

otoolep
Copy link
Member

@otoolep otoolep commented Jan 19, 2024

Add extensive testing of the interaction between VACUUM, WAL checkpoint, and WAL copying.

#1609

This test passes, but if VACUUM is performed, the dst database becomes
corrupt. This shows that VACUUM introduces issues which warrant a full
snapshot after any proposed auto-vacuum.

#1609
@otoolep
Copy link
Member Author

otoolep commented Jan 19, 2024

Actually, test was inaccurate, and missing a WAL copy. This shows that a full snapshot is not required after a VACUUM as long as every WAL file in the sequence is captured.

@otoolep otoolep merged commit 42584dc into master Jan 19, 2024
17 of 19 checks passed
@otoolep otoolep deleted the complex-wal-checkpoint-unit-test branch January 19, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant