vikramahuja1001 commented on a change in pull request #4109: URL: https://github.com/apache/carbondata/pull/4109#discussion_r596964731
########## File path: core/src/main/java/org/apache/carbondata/core/util/DeleteLoadFolders.java ########## @@ -115,7 +121,8 @@ private static void physicalFactAndMeasureMetadataDeletion(CarbonTable carbonTab SegmentUpdateStatusManager updateStatusManager = new SegmentUpdateStatusManager(carbonTable, currLoadDetails); for (final LoadMetadataDetails oneLoad : loadDetails) { - if (canDeleteThisLoad(oneLoad, isForceDelete, cleanStaleInProgress)) { + if (loadsToDelete.contains(oneLoad.getLoadName()) && canDeleteThisLoad(oneLoad, Review comment: removed -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org