Skip to content

ebs_br: allow temporary TiKV unreachable during starting snapshot backup (#49154)#50443

Merged
ti-chi-bot[bot] merged 10 commits intopingcap:release-7.5from
ti-chi-bot:cherry-pick-49154-to-release-7.5
Feb 21, 2024
Merged

ebs_br: allow temporary TiKV unreachable during starting snapshot backup (#49154)#50443
ti-chi-bot[bot] merged 10 commits intopingcap:release-7.5from
ti-chi-bot:cherry-pick-49154-to-release-7.5

Conversation

@ti-chi-bot
Copy link
Member

@ti-chi-bot ti-chi-bot commented Jan 15, 2024

This is an automated cherry-pick of #49154, #50316, #48439

What problem does this PR solve?

Issue Number: close #49152, close #49153

Problem Summary:
See the issue.
For #49152, we didn't add retry for starting suspending lightning.
For #49153, we just break the loop when keeper encounters errors, this may cause the final consistency check passes because of the request of extend lease.

What changed and how does it work?

Fixed the problems above by retry and fail fast.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

Fixed a bug that may cause EBS snapshot backup not work properly with TiKV outage.

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot ti-chi-bot added ok-to-test Indicates a PR is ready to be tested. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 15, 2024
@ti-chi-bot ti-chi-bot added the type/cherry-pick-for-release-7.5 This PR is cherry-picked to release-7.5 from a source PR. label Jan 15, 2024
@ti-chi-bot ti-chi-bot bot added do-not-merge/cherry-pick-not-approved size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 15, 2024
@ti-chi-bot ti-chi-bot added the cherry-pick-approved Cherry pick PR approved by release team. label Feb 1, 2024
@ti-chi-bot ti-chi-bot bot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed do-not-merge/cherry-pick-not-approved labels Feb 1, 2024
@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 3, 2024

PR needs rebase.

Details

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.

@ti-chi-bot ti-chi-bot removed the cherry-pick-approved Cherry pick PR approved by release team. label Feb 5, 2024
YuJuncen and others added 6 commits February 20, 2024 16:03
Signed-off-by: Yu Juncen <yu745514916@live.com>
…erry-pick-49154-to-release-7.5

Signed-off-by: Yu Juncen <yu745514916@live.com>
Signed-off-by: Yu Juncen <yu745514916@live.com>
Signed-off-by: Yu Juncen <yu745514916@live.com>
@BornChanger
Copy link
Contributor

/retest

@ti-chi-bot ti-chi-bot added the cherry-pick-approved Cherry pick PR approved by release team. label Feb 20, 2024
@YuJuncen
Copy link
Contributor

/retest

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Feb 20, 2024
@ti-chi-bot ti-chi-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 20, 2024
Signed-off-by: Yu Juncen <yu745514916@live.com>
@codecov
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

❗ No coverage uploaded for pull request base (release-7.5@15790a2). Click here to learn what that means.
The diff coverage is 63.4353%.

Additional details and impacted files
@@               Coverage Diff                @@
##             release-7.5     #50443   +/-   ##
================================================
  Coverage               ?   71.9665%           
================================================
  Files                  ?       1407           
  Lines                  ?     408594           
  Branches               ?          0           
================================================
  Hits                   ?     294051           
  Misses                 ?      94763           
  Partials               ?      19780           
Flag Coverage Δ
unit 71.9665% <63.4353%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 53.9913% <0.0000%> (?)
parser ∅ <0.0000%> (?)
br 53.3185% <0.0000%> (?)

Signed-off-by: Yu Juncen <yu745514916@live.com>
@BornChanger
Copy link
Contributor

/retest

@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BornChanger, YuJuncen

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Feb 21, 2024
@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 21, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-02-20 13:26:16.551323784 +0000 UTC m=+363665.298946896: ☑️ agreed by YuJuncen.
  • 2024-02-21 00:06:58.41897282 +0000 UTC m=+402107.166595931: ☑️ agreed by BornChanger.

@YuJuncen
Copy link
Contributor

/retest-required

Signed-off-by: Yu Juncen <yu745514916@live.com>
@ti-chi-bot ti-chi-bot bot merged commit 3c1eec1 into pingcap:release-7.5 Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved cherry-pick-approved Cherry pick PR approved by release team. lgtm ok-to-test Indicates a PR is ready to be tested. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. type/cherry-pick-for-release-7.5 This PR is cherry-picked to release-7.5 from a source PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants