Ring-k commented on a change in pull request #1457: URL: https://github.com/apache/incubator-iotdb/pull/1457#discussion_r450111437
########## File path: cluster/src/main/java/org/apache/iotdb/cluster/query/ClusterPlanExecutor.java ########## @@ -707,5 +709,24 @@ public void delete(Path path, long timestamp) throws QueryProcessException { } } + @Override + public void delete(DeletePlan deletePlan) throws QueryProcessException { + try { + Set<String> existingPaths = new HashSet<>(); + for (Path p : deletePlan.getPaths()) { + existingPaths.addAll(getPathsName(p.getFullPath())); Review comment: These codes seems redundent now, because the DeletePlan to be executed contains full paths. I will remove these codes. ---------------------------------------------------------------- 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