Jackie-Jiang commented on issue #12117: URL: https://github.com/apache/pinot/issues/12117#issuecomment-2237710986
A more desired solution would be: - Controller asks all servers serving a table if the local loaded segment aligns with the current table config/schema - Each server pulls the latest table config and schema and compare them with the local loaded segments, then return info about whether a reload is required Pros: - Some table config/schema update doesn't require reloading the segments (e.g. ingestion related settings) Cons: - Each server needs to pull table config/schema during the check - The check itself is more expensive than caching the table config/schema ZNode version We can also consider combining the 2 approaches: when ZNode version doesn't match, we perform the check. When server detect that there is no need to reload the index, it updates the ZNode version within the segment without reloading it. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org