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

resolved_ts: use smaller timeout when do check_leader #16000

Conversation

crazycs520
Copy link
Contributor

@crazycs520 crazycs520 commented Nov 16, 2023

What is changed and how it works?

Issue Number: Close #15999

What's Changed:

  • use smaller timeout when do check_leader, to to reduce the impact of a single TiKV slowing down on the advance resolve_ts of other TiKVs

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Before

image

image

This PR

image

image

Side effects

  • N/A

Release note

None.

Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
Copy link
Contributor

ti-chi-bot bot commented Nov 16, 2023

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • you06
  • zyguan

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot bot added release-note-none contribution Type: PR - From contributors size/M labels Nov 16, 2023
@ti-chi-bot ti-chi-bot bot added the status/LGT1 Status: PR - There is already 1 approval label Nov 21, 2023
@you06
Copy link
Contributor

you06 commented Nov 21, 2023

/retest

@ti-chi-bot ti-chi-bot bot added status/LGT2 Status: PR - There are already 2 approvals and removed status/LGT1 Status: PR - There is already 1 approval labels Nov 21, 2023
crazycs520 and others added 2 commits November 22, 2023 16:06
Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>
Signed-off-by: crazycs <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
@cfzjywxk cfzjywxk merged commit cc242e2 into tikv:tikv-6.5-with-kv-timeout-feature Nov 24, 2023
2 of 3 checks passed
@LykxSassinator
Copy link
Contributor

Should we also cherry-pick this pr to release-6.5 ?

@cfzjywxk
Copy link
Collaborator

cfzjywxk commented Dec 5, 2023

Should we also cherry-pick this pr to release-6.5 ?

I think so.
/cc @crazycs520 @zyguan

@ti-chi-bot ti-chi-bot bot requested a review from zyguan December 5, 2023 04:58
Copy link
Contributor

ti-chi-bot bot commented Dec 5, 2023

@cfzjywxk: GitHub didn't allow me to request PR reviews from the following users: crazycs520.

Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

Should we also cherry-pick this pr to release-6.5 ?

I think so.
/cc @crazycs520 @zyguan

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.

@Tema
Copy link

Tema commented Apr 25, 2024

@cfzjywxk looks like we missed to land it on the master. Could you please help with that and then cherry-pick it into 7.5 so that we can pick it in the next patch release

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.5: #16928.

ti-chi-bot pushed a commit to ti-chi-bot/tikv that referenced this pull request Apr 28, 2024
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot bot pushed a commit that referenced this pull request Apr 28, 2024
close #15999

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
@Tema
Copy link

Tema commented Apr 29, 2024

@crazycs520 thanks for cherry-pick into 7.5. It still misses from master, though.

crazycs520 added a commit to crazycs520/tikv that referenced this pull request May 6, 2024
…ikv#16928)

close tikv#15999

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
ti-chi-bot bot added a commit that referenced this pull request May 8, 2024
close #15999

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
mittalrishabh pushed a commit to mittalrishabh/tikv that referenced this pull request May 8, 2024
…ikv#9)

* refine resolve check_leader timeout and add failpoint

Signed-off-by: crazycs520 <crazycs520@gmail.com>

* fix

Signed-off-by: crazycs520 <crazycs520@gmail.com>

* remove fail_point

Signed-off-by: crazycs520 <crazycs520@gmail.com>

* Update components/resolved_ts/src/advance.rs

Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>
Signed-off-by: crazycs <crazycs520@gmail.com>

* make format

Signed-off-by: crazycs520 <crazycs520@gmail.com>

* add unit test

Signed-off-by: crazycs520 <crazycs520@gmail.com>

---------

Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs <crazycs520@gmail.com>
Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>

Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs <crazycs520@gmail.com>
Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: cfzjywxk <cfzjywxk@gmail.com>
ti-chi-bot added a commit to ti-chi-bot/tikv that referenced this pull request May 9, 2024
…ikv#16928)

close tikv#15999

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
ti-chi-bot bot added a commit that referenced this pull request May 15, 2024
… (#16990)

close #15999

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
ti-chi-bot added a commit to ti-chi-bot/tikv that referenced this pull request Jun 4, 2024
…ikv#16928)

close tikv#15999

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
ti-chi-bot bot pushed a commit that referenced this pull request Jun 4, 2024
… (#17095)

close #15999

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: glorv <glorvs@163.com>

Co-authored-by: crazycs <crazycs520@gmail.com>
Co-authored-by: glorv <glorvs@163.com>
@ti-chi-bot ti-chi-bot bot mentioned this pull request Jun 26, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution Type: PR - From contributors needs-cherry-pick-release-7.5 release-note-none size/M status/LGT2 Status: PR - There are already 2 approvals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants