-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix vtbackup upgrade/downgrade test #12437
Fix vtbackup upgrade/downgrade test #12437
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
1d42245
to
7063db9
Compare
Signed-off-by: Rameez Sajwani <[email protected]>
7063db9
to
48f2f35
Compare
Signed-off-by: Rameez Sajwani <[email protected]>
fb36c75
to
e373b51
Compare
Signed-off-by: Rameez Sajwani <[email protected]>
@@ -191,4 +191,4 @@ jobs: | |||
mkdir -p /tmp/vtdataroot | |||
set -x | |||
source build.env | |||
eatmydata -- go run test.go -skip-build -keep-data -docker=false -print-log -follow -tag upgrade_downgrade_backups |
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.
I looked at the code and keep-data
defaults to true. So you can't just remove the flag. You actually need -keep-data=false
. That is what I have done in #12462
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.
Strictly it is not required since the tests are passing on this PR, but if we actually want to turn it off, then we need to do it this way.
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.
initially it was false as default, we should move back to that. not for this PR
Signed-off-by: Rameez Sajwani <[email protected]>
Description
This PR fixes upgrade / downgrade tests for vtbackup. Prior to v16 we were using replication manager but now we use Vtorc for fixing the replication. During upgrade test we use VTTablet N+1 on branch 15 , this will result in backup test to fail as they don't have vtorc setup.
We have also removed TestReparentDoesntHangIfPrimaryFails given it is no longer valid after v16.
Related Issue(s)
This issue surfaced when we were backporting #12302 to release-15.0
Checklist
Deployment Notes