deepthi912 opened a new pull request, #18527: URL: https://github.com/apache/pinot/pull/18527
**Context:** When an immutable upsert segment is preloaded via BasePartitionUpsertMetadataManager.doPreloadSegment() and its validdocids.bitmap.snapshot file deserializes to an empty bitmap, the fast-path early-return calls: `segment.enableUpsert(this, new ThreadSafeMutableRoaringBitmap(), null);` For tables that track queryable docs (i.e. deleteRecordColumn is configured), passing null for queryableDocIds sets _queryableDocIds = null on ImmutableSegmentImpl. This violates the invariant held everywhere else in upsert: when queryable tracking is enabled, the bitmap must be non-null (empty is fine, null is not). -- 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]
