-
Notifications
You must be signed in to change notification settings - Fork 86
retention WAL purge #69
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
Comments
Current algorithm of wal purge is flawed, I think we should calculate oldest backup for every timeline, and check every segment against them. Tricky part is that oldest backup for some timeline can be located in different timeline:
In this example B1 is oldest backup for |
Also add support for |
Closed
gsmolk
added a commit
that referenced
this issue
Sep 20, 2019
Sample output:
|
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setup
If we run
pg_probackup delete -i A1 --wal
thentimeline b
will be wiped out.Test:
The text was updated successfully, but these errors were encountered: