snleee commented on a change in pull request #7662:
URL: https://github.com/apache/pinot/pull/7662#discussion_r739905092
##########
File path:
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/retention/RetentionManager.java
##########
@@ -229,6 +229,17 @@ private void manageSegmentLineageCleanupForTable(String
tableNameWithType) {
// If the lineage state is 'COMPLETED', it is safe to delete all
segments from 'segmentsFrom'
segmentsToDelete.addAll(sourceSegments);
}
+ } else if (lineageEntry.getState() == LineageEntryState.REVERTED) {
Review comment:
good catch. I merged the `IN_PROGRESS` and `REVERTED`
--
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]