Skip to content

Conversation

@birdstorm
Copy link
Collaborator

@birdstorm birdstorm commented Jun 4, 2021

Signed-off-by: birdstorm samuelwyf@hotmail.com

close #179

When PD request is retried when leader is down, the leader info is not updated, so it will fail for at least 60s until the leader info is correct.

  • Need to cherry-pick to the release branch

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
Copy link
Collaborator

@marsishandsome marsishandsome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@birdstorm
Copy link
Collaborator Author

/merge

@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot
Copy link
Collaborator

@birdstorm merge failed.

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
@birdstorm
Copy link
Collaborator Author

/merge

@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit f76a267 into tikv:master Jun 8, 2021
ti-srebot pushed a commit to ti-srebot/client-java that referenced this pull request Jun 8, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator

cherry pick to release-3.1 in PR #189

birdstorm added a commit that referenced this pull request Jun 9, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

Co-authored-by: birdstorm <samuelwyf@hotmail.com>
@birdstorm birdstorm deleted the fix-pd-retry branch November 8, 2021 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce the wait time after PD leader is switched

3 participants