Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not demote a new primary after backup completion (vitessio#12856)
* do not demote a new primary after backup completion Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * move set replication source out of vtctld and into tablet Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * remove set replication source in vtctld Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * fix ctx, and wip test Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * add e2e test instead of unit test Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * use built in methods Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * omit this in test Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * Update go/vt/vttablet/tabletmanager/rpc_backup.go Co-authored-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Signed-off-by: Olga Shestopalova <olgash@mit.edu> Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * move wg done to top of func Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * fix method change Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> Signed-off-by: <oshestopalova@hubspot.com> Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * try running this in isolation Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * try running this in isolation, dont run with others Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * add debug logging Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * add debug logging Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * Update go/test/endtoend/backup/vtctlbackup/backup_utils.go Co-authored-by: Manan Gupta <35839558+GuptaManan100@users.noreply.github.com> Signed-off-by: Olga Shestopalova <olgash@mit.edu> * Update go/test/endtoend/backup/vtctlbackup/backup_utils.go Co-authored-by: Manan Gupta <35839558+GuptaManan100@users.noreply.github.com> Signed-off-by: Olga Shestopalova <olgash@mit.edu> * run goimports Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * remove dupe Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> * remove generated file Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> --------- Signed-off-by: Olga Shestopalova <oshestopalova@hubspot.com> Signed-off-by: Olga Shestopalova <olgash@mit.edu> Signed-off-by: <oshestopalova@hubspot.com> Co-authored-by: Olga Shestopalova <oshestopalova@hubspot.com> Co-authored-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Co-authored-by: Manan Gupta <35839558+GuptaManan100@users.noreply.github.com>
- Loading branch information