Adar Dembo has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/14981 )

Change subject: [client] retry to connect to the cluster when specifing a 
superset of masters
......................................................................

[client] retry to connect to the cluster when specifing a superset of masters

When the user specifies more masters in the connection string than the actual
existing masters, but couldn't find a leader master, the client should retry
to connect to the cluster instead of returning with NonRecoverableException.
This will be useful when we need to add or remove masters.

Change-Id: I66033c3ff6d217ce6b8286c94a7333b90cd26d19
Reviewed-on: http://gerrit.cloudera.org:8080/14981
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M java/kudu-client/src/main/java/org/apache/kudu/client/ConnectToCluster.java
M 
java/kudu-client/src/test/java/org/apache/kudu/client/TestConnectToCluster.java
M src/kudu/client/master_rpc.cc
M src/kudu/integration-tests/master_replication-itest.cc
4 files changed, 83 insertions(+), 50 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/14981
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I66033c3ff6d217ce6b8286c94a7333b90cd26d19
Gerrit-Change-Number: 14981
Gerrit-PatchSet: 5
Gerrit-Owner: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Yifan Zhang <[email protected]>

Reply via email to