You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/02/23 18:09:11 UTC

[GitHub] [pinot] jackjlli edited a comment on pull request #8240: allow skip proactive cleaning segment lineages

jackjlli edited a comment on pull request #8240:
URL: https://github.com/apache/pinot/pull/8240#issuecomment-1049053437


   > Even if `forceClean = true`, we should allow creating multiple lineages with empty `SegmentsFrom` list. I think we can add one more condition `!segmentsFrom.isEmpty()` on `L2886` to handle this. Also, we need to allow creating lineage entries with the same empty `SegmentsFrom` list on `L2922`.
   
   Just adding an empty list check isn't sufficient, there could be two batch jobs pushing for the same target set of data. E.g. for refresh table, it's always not allowed to have such two batch jobs running at the same time, even though the segmentFrom is empty. For append table, if two batch jobs are pushing the same data, one of them should be rejected or stopped.


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org