-
Notifications
You must be signed in to change notification settings - Fork 500
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
ebs br: resume gc and scheduler when volume snapshots created #5288
ebs br: resume gc and scheduler when volume snapshots created #5288
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5288 +/- ##
==========================================
+ Coverage 57.60% 59.90% +2.29%
==========================================
Files 252 255 +3
Lines 30461 34113 +3652
==========================================
+ Hits 17548 20436 +2888
- Misses 11182 11832 +650
- Partials 1731 1845 +114
|
/test pull-e2e-kind pull-e2e-kind-across-kubernetes pull-e2e-kind-basic |
@WangLe1321: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-e2e-kind-across-kubernetes pull-e2e-kind-basic |
@WangLe1321: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-e2e-kind-serial pull-e2e-kind-br |
@WangLe1321: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@WangLe1321: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-e2e-kind-serial |
@BornChanger: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@BornChanger: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/label ok-to-test |
@BornChanger: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/test pull-e2e-kind-across-kubernetes |
@BornChanger: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@BornChanger: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test pull-e2e-kind-basic |
@purelind: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@purelind: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/run-e2e-tests |
1 similar comment
/run-e2e-tests |
/test-pull-e2e-kind-tikv-scale-simultaneously |
/run-pull-e2e-kind |
/run-pull-e2e-kind-br |
/run-pull-e2e-kind-tikv-scale-simultaneously |
1 similar comment
/run-pull-e2e-kind-tikv-scale-simultaneously |
[LGTM Timeline notifier]Timeline:
|
New changes are detected. LGTM label has been removed. |
/rtest |
/retest |
/test pull-e2e-kind |
/test pull-e2e-kind-br |
@BornChanger: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@BornChanger: No presubmit jobs available for pingcap/tidb-operator@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-1.5 |
@BornChanger: new pull request created to branch In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
…#5298) Co-authored-by: WangLe1321 <[email protected]> Co-authored-by: csuzhangxc <[email protected]>
What problem does this PR solve?
resume gc and pd scheduler when all the volume snapshots are created
Closes ebs br: shrink the window of pause gc and schedule during backup #5256
send
SIGTERM
to the BR process when tidb-backup-manager receivesSIGTERM
read stderr async in case that the pipe of stderr is full and blocks the BR process
Closes backup job is stuck(snapshot is completed) #5281
The EBS backup task may cause the import task to fail
Closes The EBS backup task may cause the import task to fail #5282
What is changed and how does it work?
data plane:
backupmeta
file is existed when the backup enterexecute
phase. if it is existed, modify backup statusVolumeBackupSnapshotsCreated
control plane:
2. if all the backups in data plane has status
VolumeBackupSnapshotsCreated
, modifyresumeGcSchedule
fieldtrue
in the backup that is responsible to pause gc and pd schduler.data plane:
3. if
resumeGcSchedule
field istrue
, delete the initialize pod and modify backup statusVolumeBackupInitializeComplete
control plane:
5. if the backup with
resumeGcSchedule: true
has statusVolumeBackupInitializeComplete
, modify volume backup statusSnapshotsCreated
. It means all the volume snapshots are created and gc and pd schedulers are resumed.Code changes
Tests
Side effects
Related changes
Release Notes
Please refer to Release Notes Language Style Guide before writing the release note.