ndimiduk commented on a change in pull request #781: HBASE-18095:
Zookeeper-less client connection implementation
URL: https://github.com/apache/hbase/pull/781#discussion_r344463139
##########
File path: hbase-protocol-shaded/src/main/protobuf/Master.proto
##########
@@ -707,6 +737,19 @@ service MasterService {
rpc GetClusterStatus(GetClusterStatusRequest)
returns(GetClusterStatusResponse);
+ /** Returns whether this master is active or not. Served on both
active/standby masters.*/
+ rpc IsActive(IsActiveRequest) returns(IsActiveResponse);
Review comment:
How is the active master identified? Is it possible that the standby masters
maintain awareness of the active? If so, it should be possible to remove this
boolean query RPC and instead have any master reply with the current master if
it is unable to service the request.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services