You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/04/25 05:50:34 UTC
[iotdb] branch master updated: will not delete empty .pst now (#5653)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin 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 ff4161643b will not delete empty .pst now (#5653)
ff4161643b is described below
commit ff4161643b149bb8f8dfcbe6cc04771544554691
Author: ZhaoXin <x_...@163.com>
AuthorDate: Mon Apr 25 13:50:28 2022 +0800
will not delete empty .pst now (#5653)
---
.../apache/iotdb/db/metadata/mtree/store/disk/schemafile/SchemaFile.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/metadata/mtree/store/disk/schemafile/SchemaFile.java b/server/src/main/java/org/apache/iotdb/db/metadata/mtree/store/disk/schemafile/SchemaFile.java
index adf4d6f2a4..275d601c9b 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/mtree/store/disk/schemafile/SchemaFile.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/mtree/store/disk/schemafile/SchemaFile.java
@@ -169,7 +169,6 @@ public class SchemaFile implements ISchemaFile {
if (channel.size() <= 0) {
channel.close();
- file.deleteOnExit();
throw new SchemaFileNotExists(file.getAbsolutePath());
}