Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[java] KUDU-3349 Fix the failure to demote a leader
KuduScanToken gets a wrong tserver's uuid whose format is something like: '<ByteString@6dffd497 size=32 contents="fc07f681d3ea4bab9bc5ec8090ab9437">', the expected uuid should be "fc07f681d3ea4bab9bc5ec8090ab9437". This issue caused RemoteTablet to fail to demote a leader, and the java client always sends write ops to the demoted leader. As a result, there are a lot of "PendingErrors overflowed. Failed to write at least 1000 rows to Kudu". After this fix, the write ops, especially the deleting, will be faster. Change-Id: I2974b6ec2cec2f0120b113d1bcf89fe3793a1ec5 Reviewed-on: http://gerrit.cloudera.org:8080/18166 Tested-by: Kudu Jenkins Reviewed-by: Alexey Serbin <aserbin@cloudera.com>
- Loading branch information
1 parent
205710c
commit 90895ce
Showing
2 changed files
with
172 additions
and
24 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