Indian-boult opened a new pull request, #20385: URL: https://github.com/apache/pinot/pull/20385
Fixes #20384 `isOutOfMetadataTTL` now returns false for a `MutableSegment`. A consuming segment has no column metadata to read its max comparison value from, and it holds the newest records of its partition, so it is always within TTL. Offloading it now removes its primary keys like any other segment that is within TTL. `ConcurrentMapPartitionUpsertMetadataManagerTest.testOffloadConsumingSegmentWithMetadataTTL` builds a real `MutableSegmentImpl` with metadataTTL 30, indexes three rows and offloads it. On master it throws the NullPointerException from the issue. With the change it passes, and so do the 87 tests in the upsert metadata manager test classes. Spotless, checkstyle and license checks pass on pinot-segment-local. -- 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]
