You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by we...@apache.org on 2026/09/08 01:55:54 UTC
(iotdb) branch fixDeviceEntry updated (c3691ae3c34 -> 0d505855ae6)
This is an automated email from the ASF dual-hosted git repository.
Wei-hao-Li pushed a change to branch fixDeviceEntry
in repository https://gitbox.apache.org/repos/asf/iotdb.git
from c3691ae3c34 fix
new bf072eae22a Revert "fix"
new 0d505855ae6 fix
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../relational/metadata/spill/DeviceEntrySpillManager.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
(iotdb) 01/02: Revert "fix"
Posted by we...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
Wei-hao-Li pushed a commit to branch fixDeviceEntry
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit bf072eae22a5b3651fc196f18ab11c3deac50f4e
Author: Weihao Li <18...@163.com>
AuthorDate: Tue Sep 8 09:36:12 2026 +0800
Revert "fix"
This reverts commit c3691ae3c345eeda101ac7b868bc6b703e8f99e4.
---
.../plan/relational/metadata/spill/DeviceEntrySpillManager.java | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java
index 6349d89585b..ebd4218672a 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java
@@ -80,11 +80,7 @@ public final class DeviceEntrySpillManager {
public void deregisterQuery(String queryId) throws IOException {
queryDirectories.remove(queryId);
- Path directory = resolveQueryDirectory(queryId);
- if (!Files.exists(directory)) {
- return;
- }
- deleteDirectoryIfExists(directory);
+ deleteDirectoryIfExists(resolveQueryDirectory(queryId));
}
public byte[] readSegment(String queryId, String planNodeId, int segmentId) throws IOException {
(iotdb) 02/02: fix
Posted by we...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
Wei-hao-Li pushed a commit to branch fixDeviceEntry
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 0d505855ae6d43c0fe1d0e320e78e3baff02bc29
Author: Weihao Li <18...@163.com>
AuthorDate: Tue Sep 8 09:55:32 2026 +0800
fix
Signed-off-by: Weihao Li <18...@163.com>
---
.../plan/relational/metadata/spill/DeviceEntrySpillManager.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java
index ebd4218672a..643634e0609 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/metadata/spill/DeviceEntrySpillManager.java
@@ -165,6 +165,10 @@ public final class DeviceEntrySpillManager {
}
private void deleteDirectoryIfExists(Path directory) throws IOException {
+ if (!Files.exists(directory)) {
+ return;
+ }
+
Files.walkFileTree(
directory,
new SimpleFileVisitor<>() {