mychaow commented on a change in pull request #1474:
URL: https://github.com/apache/incubator-iotdb/pull/1474#discussion_r453414608
##########
File path: server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
##########
@@ -135,6 +140,15 @@ private StorageEngine() {
// recover upgrade process
UpgradeUtils.recoverUpgrade();
+ recover();
+ }
+
+ public void recover() {
+ ExecutorService executors = Executors.newSingleThreadExecutor();
+ executors.submit(this::recoverAllSgs);
Review comment:
Wait util all sgs have been recoverd. This means all sgs could get the
remote schema or someone return that the schema is not exist when replayed the
wal
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]