Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added status code for AcquireLockTimeoutException
to better help a client, i.e. a driver, to classify the error for end users. AcquireLockTimeoutException is mainly used in CE to indicate that we cannot grab a lock on a `Leader`. There is a chance that we will get this exception if a leadership switch happened after we've checked the the server where we are going to get the lock is the `Leader`, but before we really start to take a lock.
- Loading branch information
Zhen
committed
Oct 11, 2016
1 parent
5e4211f
commit a08fc63
Showing
4 changed files
with
34 additions
and
15 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
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