Alexey Serbin has submitted this change and it was merged. ( 
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
Reviewed-on: http://gerrit.cloudera.org:8080/17971
Reviewed-by: Andrew Wong <[email protected]>
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
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(-)

Approvals:
  Andrew Wong: Looks good to me, but someone else must approve
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: I7d2e7d49d234e41e66e9c367e061fb7da32e9b47
Gerrit-Change-Number: 17971
Gerrit-PatchSet: 4
Gerrit-Owner: Hongjiang Zhang <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Hongjiang Zhang <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to