jt2594838 commented on a change in pull request #460:
URL: https://github.com/apache/iotdb/pull/460#discussion_r537396431
##########
File path: server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
##########
@@ -325,6 +325,7 @@ public StorageGroupProcessor getProcessor(PartialPath path)
throws StorageEngine
storageGroupPath = storageGroupMNode.getPartialPath();
StorageGroupProcessor processor = processorMap.get(storageGroupPath);
if (processor == null) {
+ waitAllSgReady(storageGroupPath);
Review comment:
Otherwise, it will throw an exception directly, failing current
operations.
----------------------------------------------------------------
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]