You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2023/08/09 01:00:07 UTC
[iotdb] branch master updated: [IOTDB-6104] Remove tmp directory for udf query completely while query end
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 9fbc0318f47 [IOTDB-6104] Remove tmp directory for udf query completely while query end
9fbc0318f47 is described below
commit 9fbc0318f47ffd2dd3c1b95c9e19f2d84d421eee
Author: Jackie Tien <ja...@gmail.com>
AuthorDate: Wed Aug 9 09:00:00 2023 +0800
[IOTDB-6104] Remove tmp directory for udf query completely while query end
---
.../java/org/apache/iotdb/db/service/TemporaryQueryDataFileService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/TemporaryQueryDataFileService.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/TemporaryQueryDataFileService.java
index 0c8418eb170..9c0eef89a8d 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/TemporaryQueryDataFileService.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/TemporaryQueryDataFileService.java
@@ -83,7 +83,7 @@ public class TemporaryQueryDataFileService implements IService {
}
}
try {
- FileUtils.cleanDirectory(SystemFileFactory.INSTANCE.getFile(getDirName(queryId)));
+ FileUtils.deleteDirectory(SystemFileFactory.INSTANCE.getFile(getDirName(queryId)));
} catch (IOException e) {
logger.warn(
String.format("Failed to clean dir in method deregister(%s), because %s", queryId, e));