Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2239

Kudu Maste Rpc ListTabletServers Have Dead Tablet Server

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: api
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yangz yangz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: