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

Kudu Maste Rpc ListTabletServers Have Dead Tablet Server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.0
    • None
    • api
    • 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

            Unassigned Unassigned
            yangz yangz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: