This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch force_ci/object_type
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit cbe57655b1e518b8f6904c5c7f8c2de5b5098e3d
Author: Zhenyu Luo <[email protected]>
AuthorDate: Mon Nov 10 15:55:59 2025 +0800

    Active Load: Ignore java.io.UncheckedIOException exceptions thrown during 
the file scanning process. (#16705)
    
    * Active Load: Ignore java.io.UncheckedIOException exceptions thrown during 
the file scanning process.
    
    * update
    
    (cherry picked from commit 2de3bb6f534bb94f816f893c9091b0c95fb1d2a8)
---
 .../iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java       | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java
index 8abfa618708..5ac33dfbdd4 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadDirScanner.java
@@ -32,6 +32,7 @@ import org.slf4j.LoggerFactory;
 
 import java.io.File;
 import java.io.IOException;
+import java.io.UncheckedIOException;
 import java.nio.file.FileVisitResult;
 import java.nio.file.Files;
 import java.nio.file.Path;
@@ -125,6 +126,8 @@ public class ActiveLoadDirScanner extends 
ActiveLoadScheduledExecutorService {
                                 parentFile.getAbsoluteFile(), 
listeningDirFile.getAbsoluteFile()),
                         isGeneratedByPipe);
                   });
+        } catch (UncheckedIOException e) {
+          LOGGER.debug("The file has been deleted. Ignore this exception.");
         } catch (final Exception e) {
           LOGGER.warn("Exception occurred during scanning dir: {}", 
listeningDir, e);
         }

Reply via email to