Hongjiang Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17971
Change subject: KUDU-3295: Fix the number of replicas does not equal the number of servers ...................................................................... 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 --- M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestAsyncKuduClient.java 2 files changed, 55 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/71/17971/1 -- To view, visit http://gerrit.cloudera.org:8080/17971 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7d2e7d49d234e41e66e9c367e061fb7da32e9b47 Gerrit-Change-Number: 17971 Gerrit-PatchSet: 1 Gerrit-Owner: Hongjiang Zhang <[email protected]>
