Skip to content
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

prepare_snap: establish connection to all stores before pausing admin (#51449) #51730

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #51449

What problem does this PR solve?

Issue Number: close #51448

Problem Summary:
Now if we cannot connect to a TiKV, it will block at creating connection.
But, in this scenario, some of TiKVs' admin commands are paused. That will impact the TP workload more.

What changed and how does it work?

After this PR, we won't pause the admin commands before connections to all TiKV nodes established.

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.

None

Signed-off-by: Yu Juncen <yu745514916@live.com>
Signed-off-by: Yu Juncen <yu745514916@live.com>
@ti-chi-bot ti-chi-bot added ok-to-test Indicates a PR is ready to be tested. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-6.5 This PR is cherry-picked to release-6.5 from a source PR. labels Mar 13, 2024
Copy link

codecov bot commented Mar 13, 2024

Codecov Report

❗ No coverage uploaded for pull request base (release-6.5@2b8a5fa). Click here to learn what that means.
The diff coverage is 60.0000%.

Additional details and impacted files
@@               Coverage Diff                @@
##             release-6.5     #51730   +/-   ##
================================================
  Coverage               ?   73.6359%           
================================================
  Files                  ?       1095           
  Lines                  ?     350932           
  Branches               ?          0           
================================================
  Hits                   ?     258412           
  Misses                 ?      75907           
  Partials               ?      16613           

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Mar 13, 2024
@BornChanger
Copy link
Contributor

/hold

@ti-chi-bot ti-chi-bot bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 13, 2024
Signed-off-by: Yu Juncen <yu745514916@live.com>
@nkg-
Copy link
Contributor

nkg- commented Mar 22, 2024

@BornChanger : Did the BR integration tests pass. I see a hold.

@BornChanger
Copy link
Contributor

/unhold

@ti-chi-bot ti-chi-bot bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 25, 2024
@BornChanger
Copy link
Contributor

BornChanger commented Mar 25, 2024

@BornChanger : Did the BR integration tests pass. I see a hold.

I just unhold it. There is another enhancement.

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

Maybe also pick #51823 here.

Copy link

ti-chi-bot bot commented Mar 25, 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

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 Mar 25, 2024
Copy link

ti-chi-bot bot commented Mar 25, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-03-13 08:47:02.987193418 +0000 UTC m=+848050.009439807: ☑️ agreed by YuJuncen.
  • 2024-03-25 12:27:45.446752098 +0000 UTC m=+1898092.468998486: ☑️ agreed by BornChanger.

@ti-chi-bot ti-chi-bot bot merged commit b366852 into pingcap:release-6.5 Mar 25, 2024
13 checks passed
mittalrishabh pushed a commit to mittalrishabh/tidb that referenced this pull request May 30, 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-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-6.5 This PR is cherry-picked to release-6.5 from a source PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants