You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by zy...@apache.org on 2023/05/10 11:31:27 UTC

[iotdb] branch master updated: Fix a bug: crash while restarting caused by logical view (#9815)

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: 橘子 <70...@users.noreply.github.com>
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);
     }