[
https://issues.apache.org/jira/browse/KUDU-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434662#comment-17434662
]
ASF subversion and git services commented on KUDU-3295:
-------------------------------------------------------
Commit 94159e5c6713834d86bb89ecb681224cf6eeaf01 in kudu's branch
refs/heads/master from Hongjiang Zhang
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=94159e5 ]
KUDU-3295: Fix the number of replicas does not equal the number of servers
When the tserver is shutdown and its DNS cannot be resolved, it is still
possible for the client to receive the replicas including this tserver,
as a result, discoverTablets will see the servers size not equal to
replica size because the replica does not verify server connectivity.
This patch fixes this by ignoring replica whose server cannot be
resolved.
Change-Id: I7d2e7d49d234e41e66e9c367e061fb7da32e9b47
Reviewed-on: http://gerrit.cloudera.org:8080/17971
Reviewed-by: Andrew Wong <[email protected]>
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
> kudu client cannot read if one of tablet replica is unhealthy
> -------------------------------------------------------------
>
> Key: KUDU-3295
> URL: https://issues.apache.org/jira/browse/KUDU-3295
> Project: Kudu
> Issue Type: Bug
> Components: client, java
> Affects Versions: 1.11.0, 1.12.0, 1.11.1, 1.13.0, 1.14.0, 1.15.0
> Reporter: Redriver
> Priority: Critical
>
> I found this issue when one of my tserver was down, as a result, DNS resolver
> failed and the tablet replicas on that server cannot access. When I use kudu
> java API to scan the table, the client complains. That is unexpected for only
> one tserver crashed which blocks the read.
> {color:#1d1c1d}the number of replicas does not equal the number of
> servers{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)