You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/11/14 02:56:07 UTC

[iotdb] branch master updated: [IOTDB-2001] Remove redundant StorageGroupNotReadyException (#4377)

This is an automated email from the ASF dual-hosted git repository.

haonan 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 1e43fc7  [IOTDB-2001] Remove redundant StorageGroupNotReadyException (#4377)
1e43fc7 is described below

commit 1e43fc726292cc82a4a1707bce7878efb295f90d
Author: Alan Choo <43...@users.noreply.github.com>
AuthorDate: Sun Nov 14 10:55:18 2021 +0800

    [IOTDB-2001] Remove redundant StorageGroupNotReadyException (#4377)
---
 server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java b/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
index 89013b3..36137ec 100644
--- a/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
@@ -523,11 +523,6 @@ public class StorageEngine implements IService {
         if (virtualStorageGroupManager == null) {
           virtualStorageGroupManager = new VirtualStorageGroupManager();
           processorMap.put(storageGroupMNode.getPartialPath(), virtualStorageGroupManager);
-        } else {
-          // not finished recover, refuse the request
-          throw new StorageGroupNotReadyException(
-              storageGroupMNode.getFullPath(),
-              TSStatusCode.STORAGE_GROUP_NOT_READY.getStatusCode());
         }
       }
     }