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 2020/07/23 02:40:07 UTC
[incubator-iotdb] branch rel/0.10 updated: fix upgrade systemfile
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/rel/0.10 by this push:
new 4faa9c6 fix upgrade systemfile
4faa9c6 is described below
commit 4faa9c6696c49c2b069cdef714b513cb669f2d98
Author: qiaojialin <64...@qq.com>
AuthorDate: Thu Jul 23 10:39:49 2020 +0800
fix upgrade systemfile
---
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
index 1c8b49c..c9cf5b7 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
@@ -197,7 +197,7 @@ public class IoTDBConfigCheck {
throw new IOException("Deleting " + mlogFile + "failed.");
}
// rename tmpLogFile to mlog
- FSFactoryProducer.getFSFactory().moveFile(tmpMLogFile, mlogFile);
+ FileUtils.moveFile(tmpMLogFile, mlogFile);
}
checkProperties();
}