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

zyk 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 7533fe5bec Fix a bug: crash while restarting caused by logical view 
(#9815)
7533fe5bec is described below

commit 7533fe5bec67bc4732ee64de940379cab8b94dfc
Author: 橘子 <[email protected]>
AuthorDate: Wed May 10 19:31:18 2023 +0800

    Fix a bug: crash while restarting caused by logical view (#9815)
---
 .../apache/iotdb/db/metadata/mtree/snapshot/MemMTreeSnapshotUtil.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/metadata/mtree/snapshot/MemMTreeSnapshotUtil.java
 
b/server/src/main/java/org/apache/iotdb/db/metadata/mtree/snapshot/MemMTreeSnapshotUtil.java
index 6f45ae7baf..aea5f1854a 100644
--- 
a/server/src/main/java/org/apache/iotdb/db/metadata/mtree/snapshot/MemMTreeSnapshotUtil.java
+++ 
b/server/src/main/java/org/apache/iotdb/db/metadata/mtree/snapshot/MemMTreeSnapshotUtil.java
@@ -247,6 +247,7 @@ public class MemMTreeSnapshotUtil {
         childrenNum = 0;
         node = deserializer.deserializeLogicalViewMNode(inputStream);
         measurementProcess.accept(node.getAsMeasurementMNode());
+        break;
       default:
         throw new IOException("Unrecognized MNode type " + type);
     }

Reply via email to