-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine onNotLeader logic when new leader is not available (#1178)
* refine onNotLeader logic when new leader is not available #1169 Signed-off-by: crazycs520 <[email protected]> * refine logic and add test Signed-off-by: crazycs520 <[email protected]> * add more test case for ReplicaReadLeader with kv_read_timeout Signed-off-by: crazycs520 <[email protected]> * add comment Signed-off-by: crazycs520 <[email protected]> * fix leader has deadlineErr and retry it again issue, and add test for it Signed-off-by: crazycs520 <[email protected]> * refine code and comment Signed-off-by: crazycs520 <[email protected]> --------- Signed-off-by: crazycs520 <[email protected]>
- Loading branch information
1 parent
6f9550f
commit 93fff7c
Showing
2 changed files
with
143 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters