jackjlli commented on a change in pull request #7424: URL: https://github.com/apache/pinot/pull/7424#discussion_r707601786
########## File path: pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/retention/RetentionManager.java ########## @@ -246,8 +251,12 @@ private void manageSegmentLineageCleanupForTable(String tableNameWithType) { .writeSegmentLineage(_pinotHelixResourceManager.getPropertyStore(), segmentLineage, expectedVersion)) { // Delete segments based on the segment lineage _pinotHelixResourceManager.deleteSegments(tableNameWithType, segmentsToDelete); + LOGGER.info("Finished cleaning up segment lineage for table: {} in {}ms", tableNameWithType, + (System.currentTimeMillis() - cleanupStartTime)); return true; } else { + LOGGER.info("Failed to write segment lineage back when cleaning up segment lineage for table: {}", Review comment: Changed to `warn`. Right, this is to ensure no two threads try to update the same ZNode at the same time. -- 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