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

Fix prefetch logic #638

Merged
merged 2 commits into from
Feb 24, 2025
Merged

Fix prefetch logic #638

merged 2 commits into from
Feb 24, 2025

Conversation

rdunklau
Copy link
Contributor

  • do not prefetch timeline files
  • adapt to PostgreSQL behaviour from the past 12 years and do not skip 0xFF WAL files.

We don't have many timeline files, so it is not critical to prefetch
those, and can lead to database corruption if we try to download one,
abort the download, and try to delete it afterwards while the server has
promoted itself.

The same kind of pitfalls may exist for WAL files themselves.
@rdunklau rdunklau force-pushed the rdunklau/fix_timeline_disappearing branch from 95c0aed to 5b1525e Compare February 20, 2025 13:33
@packi packi merged commit 6afc524 into main Feb 24, 2025
6 checks passed
@packi packi deleted the rdunklau/fix_timeline_disappearing branch February 24, 2025 14:59
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.

2 participants