Jackie-Jiang commented on issue #13251: URL: https://github.com/apache/pinot/issues/13251#issuecomment-2148161200
There are 3 things user might be interested in: - The tenant that is supposed to be used to serve a table (similar to IS concept) - The tenant that is actually used to serve a table (similar to EV concept) - Whether the table is properly rebalanced (similar to whether IS matches EV) IMO we can provide different APIs as following: - Return the tables that are supposed to be served by the given tenant - Return the tables that are actually served by the given tenant (this API can potentially be expensive because we need to compare IS for all tables with servers of the given tenant. Using `InstancePartitions` might not be good enough because not all tables have it, and it might not be in-sync with the IS) - Return the tables that are not rebalanced (this API can be expensive, so should be called less frequently, or on a per table basis) One more thing we didn't discuss above is how to handle `instancePartitionsMap` (reference the instance partitions of a different table) within the table config. When it is configured, we should use the `instanceAssignmentConfigMap` of the reference table. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
