J-HowHuang opened a new pull request, #17373: URL: https://github.com/apache/pinot/pull/17373
## Description For the controller needReload API `GET /segments/<tableNameWithType>/needReload`, the `IndexLoadingConfig` used in checking the need to reload doesn't have the tier information of each segments. This creates misalignment between the actual `IndexLoadingConfig` that loads the segments and the `IndexLoadingConfig` used to check the need to reload, when `tierOverwrites` is present in the table config. In such case, pinot servers follow the overwritten configs for a segment in remote tier, but `needReload` API answers based on the config of default local tier. Notice that this bug is only in the controller API, for the call of `needPreprocess()` during segment reload or load, the tier is correctly set. -- 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]
