-
Notifications
You must be signed in to change notification settings - Fork 111
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 runbook to restore stackgres backup #9860
base: main
Are you sure you want to change the base?
Conversation
volumes Signed-off-by: Xin Li <[email protected]>
…ckup Signed-off-by: Xin Li <[email protected]>
Signed-off-by: Xin Li <[email protected]>
Signed-off-by: Xin Li <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9860 +/- ##
============================================
- Coverage 92.27% 92.26% -0.01%
Complexity 7771 7771
============================================
Files 951 951
Lines 32472 32472
Branches 4118 4118
============================================
- Hits 29962 29961 -1
Misses 1546 1546
- Partials 964 965 +1 ☔ View full report in Codecov by Sentry. |
read -p "Continue? (Y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] && return || \ | ||
{ [[ -n "$confirm" ]] && exit 1 || true; } |
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.
change the function to ignore empty input
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
done | ||
} | ||
CURRENT_NAMESPACE=$(kubectl config view --minify --output 'jsonpath={..namespace}') |
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.
Maybe add to requirements in the .md
?
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
...ror-web3/src/test/java/com/hedera/services/fees/calculation/UsageBasedFeeCalculatorTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Xin Li <[email protected]>
44f8461
Signed-off-by: Xin Li <[email protected]>
Quality Gate passedIssues Measures |
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.
Looks good
Description:
This PR adds a script to restore stackgres backup
Related issue(s):
Fixes #9577
Notes for reviewer:
Tested the following scenario:
coord-1
instead of the default coordinator primarycoord-0
Overall rolling back a ZFS volume to a snapshot and recover the saved WAL files are fast, however it make take longer if the data diff size is larger between the snapshot and the current volume.
The more time consuming part is re-initializing the coordinator replica from the primary, it took about 5 minutes for testnet with 5GB coordinator data.
Checklist