Skip to content

Conversation

@birdstorm
Copy link
Collaborator

remove redundant seek leader logic that may cause retry.

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
store = currentLeaderStore;
updateClientStub();
return true;
}
Copy link
Member

Choose a reason for hiding this comment

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

should we add a log here to indicate that the leader is unreachable?

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

@marsishandsome
Copy link
Collaborator

/merge

1 similar comment
@marsishandsome
Copy link
Collaborator

/merge

@ti-srebot
Copy link
Collaborator

/run-all-tests

1 similar comment
@ti-srebot
Copy link
Collaborator

/run-all-tests

@marsishandsome marsishandsome merged commit e87bb8a into tikv:release-3.1 Nov 21, 2021
marsishandsome pushed a commit to marsishandsome/client-java that referenced this pull request Dec 1, 2021
marsishandsome pushed a commit to marsishandsome/client-java that referenced this pull request Dec 1, 2021
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
@birdstorm birdstorm deleted the optimize-seek-leader-store branch December 16, 2021 05:16
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.

4 participants