praveenc7 opened a new pull request, #17822:
URL: https://github.com/apache/pinot/pull/17822
## Summary
- When PurgeTask rebuilds a segment (after purging compliance/late-event
records), SegmentPurger creates a new segment via SegmentGeneratorConfig which
unconditionally picks up starTreeIndexConfigs from the table config. This
causes old segments to unexpectedly gain star-tree indexes during purge, even
when `enableDynamicStarTreeCreation` is false.
- This change makes SegmentPurger.initSegmentGeneratorConfig() respect
enableDynamicStarTreeCreation — if it's false (default), star-tree configs are
cleared before segment generation, preventing unintended star-tree
add/remove/modify during purge rebuilds.
https://github.com/linkedin/pinot/pull/141
## Test plan
unit test
--
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]