You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2021/07/19 08:34:45 UTC
[iotdb] branch template_restart_bug created (now afb0854)
This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a change to branch template_restart_bug
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
at afb0854 fix
This branch includes the following new commits:
new afb0854 fix
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: fix
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch template_restart_bug
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit afb08547d10a9c4043b7c7dae3c0a80dd766acbf
Author: LebronAl <TX...@gmail.com>
AuthorDate: Mon Jul 19 16:34:06 2021 +0800
fix
---
server/src/main/java/org/apache/iotdb/db/metadata/MManager.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java b/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
index 674c90e..7f2d568 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/MManager.java
@@ -1090,6 +1090,7 @@ public class MManager {
node = mtree.getDeviceNodeWithAutoCreating(path, sgLevel);
if (!(node.left instanceof StorageGroupMNode)) {
logWriter.autoCreateDeviceMNode(new AutoCreateDeviceMNodePlan(node.left.getPartialPath()));
+ logger.warn("autoCreateDeviceMNode success:{}", node.left.getPartialPath());
}
return node;
} catch (StorageGroupAlreadySetException e) {
@@ -1097,6 +1098,7 @@ public class MManager {
node = mtree.getDeviceNodeWithAutoCreating(path, sgLevel);
if (!(node.left instanceof StorageGroupMNode)) {
logWriter.autoCreateDeviceMNode(new AutoCreateDeviceMNodePlan(node.left.getPartialPath()));
+ logger.warn("autoCreateDeviceMNode success:{}", node.left.getPartialPath());
}
return node;
}
@@ -1981,6 +1983,7 @@ public class MManager {
deviceMNode.left.setUseTemplate(true);
try {
logWriter.setUsingDeviceTemplate(deviceMNode.left.getPartialPath());
+ logger.warn("setUsingDeviceTemplate success:{}", deviceMNode.left.getPartialPath());
} catch (IOException e) {
throw new MetadataException(e);
}