klsince opened a new pull request, #12709: URL: https://github.com/apache/pinot/pull/12709
this PR refines when to registerSegment when to add/replaceSegment for upsert tables. Basically, when adding a new segment, we should register it before processing with partitionUpsertMetadataManager. But when replacing an old segment with a new one (both have same segment name), we should register it after it's fully processed by partitionUpsertMetadataManager. So that, the queries can see a more consistent view of data in a table partition. The data view consist of all the validDocIds (or queryableDocIds) bitmaps of the segments in a table partition. -- 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