-
Notifications
You must be signed in to change notification settings - Fork 146
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
K8SPSMDB-926: Implement PiTR for physical restores #1288
Conversation
872b2da
to
60d59ae
Compare
desc 'test passed' | ||
} | ||
|
||
main |
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.
[shfmt] reported by reviewdog 🐶
main | |
main |
@@ -26,6 +27,26 @@ import ( | |||
"github.com/percona/percona-server-mongodb-operator/version" | |||
) | |||
|
|||
// reconcilePhysicalRestore performs a physical restore of a Percona Server for MongoDB from a backup. | |||
// The function: |
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.
Do we need this comment? Primarily this part of how the method does what it's supposed to do.
|
||
/opt/percona/pbm-agent 2> ${log} & |
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.
[shfmt] reported by reviewdog 🐶
/opt/percona/pbm-agent 2> ${log} & | |
/opt/percona/pbm-agent 2>${log} & |
/opt/percona/ps-entry.sh "$@" | ||
|
||
echo "Physical restore in progress" | ||
|
||
cat ${log} | ||
sleep infinity |
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.
[shfmt] reported by reviewdog 🐶
sleep infinity | |
sleep infinity |
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 looks OK to me.
commit: 1eab7ad |
CHANGE DESCRIPTION
Problem:
PiTR with physical backups are not implemented.
Solution:
Implement PiTR using PBM v2.2.1. Note that to use PiTR with physical backups you need to use PBM v2.2.1 or above.
CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
compare/*-oc.yml
)?Config/Logging/Testability