Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5.0
-
None
-
None
Description
It is the rpc request of the masterserviceimpl
virtual void ListTabletServers(const ListTabletServersRequestPB* req,
ListTabletServersResponsePB* resp,
rpc::RpcContext* rpc) OVERRIDE;
The rpc return all the tablet server, no matter it's live or dead. And the response have no description of the tablet server.
When I want to collect the metrics from all the tserver, I invoke the ListTabletServers rpc.
Then I send all the request to the tablet server to get the metrics. But some tablet server is dead.
I think this rpc will always return the live tablet server, or add some status of the tablet server, or
add a rpc to return the live tablet servers.