-
Notifications
You must be signed in to change notification settings - Fork 97
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
Skip the full snapshot if initial delta snapshot is taken and #222
Conversation
Can we reduce the full snapshot "recent" duration to something like 15 or 30 minutes? So that sidecar can will take full snapshot only if last full snapshot was more than 30 minutes ago. This is because when etcd starts restarting, there's a higher chance of a data corruption and restoration, and this restoration will take longer if the last full snapshot was taken too long ago. A full snapshot taken 30 minutes ago will have far lesser number of delta snapshots, so the restoration will be quick and there's a smaller downtime there. WDYT? |
I think restoration time is separate problem. Let's not try to solve it here. Currently we are fine with whatever RPO its provides. The restoration time in generic issue and should be solved with compaction idea that we have in backlog. |
last full snapshot is within 24hr Signed-off-by: Swapnil Mhamane <swapnil.mhamane@sap.com>
@shreyas-s-rao @georgekuruvillak If you don't have any further concerns, can we merge this? |
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
Maybe you can also add the bootstrap script change with this PR itself.
I have updated the bootstrap script. Please go through it once and merge this. |
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.
Thanks for making the change. Please address the below comments.
chart/etcd-backup-restore/templates/etcd-bootstrap-configmap.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: Swapnil Mhamane <swapnil.mhamane@sap.com> Update chart/etcd-backup-restore/templates/etcd-bootstrap-configmap.yaml Co-Authored-By: Shreyas Rao <42259948+shreyas-s-rao@users.noreply.github.com>
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.
PTAL
if your queries has been resolved. Will you merge this PR. |
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
/lgtm |
last full snapshot is within 24hr
Signed-off-by: Swapnil Mhamane swapnil.mhamane@sap.com
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #221
Special notes for your reviewer:
Release note: