jackjlli opened a new pull request #4545: Add APIs to get leader for all tables 
or a given table
URL: https://github.com/apache/incubator-pinot/pull/4545
 
 
   This PR adds APIs to get leader for all tables or a given table.
   
   Get leaders for all tables:
   API GET /leader/tables
   ```
   {
     "leadControllerResource_0": {
       "tableNames": [table0, table2],
       "leadControllerId": "Controller_localhost_9000"
     },
     ...
     "leadControllerResource_23": {
       "tableNames": [table1, table3],
       "leadControllerId": "Controller_localhost_9000"
     }
   }
   ```
   Get leader for a given table:
   API GET /leader/tables/{tableName}
   ```
   {
     "leadControllerResource_7": {
       "tableNames": [table2],
       "leadControllerId": "Controller_localhost_9000"
     }
   }
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to