This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch rc/1.3.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rc/1.3.3 by this push:
new 031d5390e69 Catch Exception to improve the robustness of loading
procedure #13696 (#13699)
031d5390e69 is described below
commit 031d5390e699e35b4aa627d33cf3759265623f14
Author: Li Yu Heng <[email protected]>
AuthorDate: Thu Oct 10 08:34:32 2024 +0800
Catch Exception to improve the robustness of loading procedure #13696
(#13699)
---
.../java/org/apache/iotdb/confignode/persistence/ProcedureInfo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ProcedureInfo.java
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ProcedureInfo.java
index b2abf1f95e8..5589fdd3799 100644
---
a/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ProcedureInfo.java
+++
b/iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/ProcedureInfo.java
@@ -171,7 +171,7 @@ public class ProcedureInfo implements SnapshotProcessor {
}
return Optional.ofNullable(procedure);
}
- } catch (IOException e) {
+ } catch (Exception e) {
LOGGER.error("Load {} failed, it will be deleted.", procedureFilePath,
e);
if (!procedureFilePath.toFile().delete()) {
LOGGER.error("{} deleted failed; take appropriate action.",
procedureFilePath, e);