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/03 08:53:05 UTC
[incubator-iotdb] branch master updated: fix upgrade
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/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new f8eaf79 fix upgrade
f8eaf79 is described below
commit f8eaf797d8379be6f99e40b75dfac9567df12b4e
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Jul 3 15:27:02 2020 +0800
fix upgrade
---
.../apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
index f034b94..bca9cb1 100755
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
@@ -1562,7 +1562,9 @@ public class StorageGroupProcessor {
}
}
}
- UpgradeSevice.getINSTANCE().stop();
+ if (StorageEngine.getInstance().countUpgradeFiles() == 0) {
+ UpgradeSevice.getINSTANCE().stop();
+ }
}
}