Posted by
GitBox on
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-vikramahuja1001-opened-a-new-pull-request-4109-WIP-Fix-various-concurrent-issues-ws-tp106942p107004.html
kunal642 commented on a change in pull request #4109:
URL:
https://github.com/apache/carbondata/pull/4109#discussion_r596950277##########
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:
canDeleteThisLoad would be redundant here, as loadsToDelete is absolute
--
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:
[hidden email]