-
Notifications
You must be signed in to change notification settings - Fork 1
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
Choose WAL-G backup by start time when cloning and deleting #1
base: ol/3.0-p1-extras
Are you sure you want to change the base?
Choose WAL-G backup by start time when cloning and deleting #1
Conversation
Thanks! Will take a look early next week! |
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.
LGTM!
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.
👍
This fixes the immediate problem of cleaning up backups based on start time instead of modified time: fcb00b1 Note that this is not at all backwards compatible with However, when working on this I found this: wal-g/wal-g#816 which suggests that there is already built-in support for this. Also, using |
fcb00b1
to
bb77d67
Compare
Here's a new patch that makes use of Diff it with ignore whitespace and it'll look less intimidating. :) |
bb77d67
to
30b4d13
Compare
FWIW the Spilo tests passes with these changes cherry-picked on master and with However, without
This is expected because if the backups are created with Note that this is should only be an issue if you are trying to migrate from |
I think it makes sense to ask if they are planning on removing wal-e support. |
Ugh, running into some issues building the image from this branch, seem to fail on building wal-g 🤔
|
|
Blocked by: wal-g/wal-g#1738 Temp fix to allow for testing while we wait for the fix to be released: 8416ba1 |
Fixes https://github.com/elastisys/compliantkubernetes-postgresql/issues/241
Also fixes the following upstream issues AFAIK (more investigation needed to verify):
Does not fix when Spilo relies on
wal-g backup-list LATEST
:Breaks cloning from backup that does not include
metadata.json
(for example backup created withwal-e
):