You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by li...@apache.org on 2019/11/13 07:43:59 UTC

[incubator-iotdb] tag release/0.8.1 updated (bfe7235 -> 9e63021)

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

liurui pushed a change to tag release/0.8.1
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


*** WARNING: tag release/0.8.1 was modified! ***

    from bfe7235  (tag)
      to 9e63021  (commit)
    from 4b8d46f  [maven-release-plugin] prepare release release/0.8.1
     new 9e63021  fix(StatMonitor): fix StatMonitor start error

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.


Summary of changes:
 .../src/main/java/org/apache/iotdb/db/service/IoTDB.java   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)


[incubator-iotdb] 01/01: fix(StatMonitor): fix StatMonitor start error

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

liurui pushed a commit to tag release/0.8.1
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 9e63021e420c2fa35305aac1afa7910ad90ca3ae
Author: liuruiyiyang <24...@qq.com>
AuthorDate: Wed Nov 13 15:42:22 2019 +0800

    fix(StatMonitor): fix StatMonitor start error
---
 .../src/main/java/org/apache/iotdb/db/service/IoTDB.java   | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/service/IoTDB.java b/server/src/main/java/org/apache/iotdb/db/service/IoTDB.java
index 6d871e3..a56d5f3 100644
--- a/server/src/main/java/org/apache/iotdb/db/service/IoTDB.java
+++ b/server/src/main/java/org/apache/iotdb/db/service/IoTDB.java
@@ -80,13 +80,6 @@ public class IoTDB implements IoTDBMBean {
     IoTDBDescriptor.getInstance().getConfig().setEnableWal(false);
     IoTDBDescriptor.getInstance().getConfig().setEnableWal(enableWAL);
 
-    // When registering statMonitor, we should start recovering some statistics
-    // with latest values stored
-    // Warn: registMonitor() method should be called after systemDataRecovery()
-    if (IoTDBDescriptor.getInstance().getConfig().isEnableStatMonitor()) {
-      StatMonitor.getInstance().recovery();
-    }
-
     initMManager();
     registerManager.register(StorageEngine.getInstance());
     registerManager.register(MultiFileLogNodeManager.getInstance());
@@ -100,6 +93,13 @@ public class IoTDB implements IoTDBMBean {
 
     JMXService.registerMBean(getInstance(), mbeanName);
 
+    // When registering statMonitor, we should start recovering some statistics
+    // with latest values stored
+    // Warn: registMonitor() method should be called after systemDataRecovery()
+    if (IoTDBDescriptor.getInstance().getConfig().isEnableStatMonitor()) {
+      StatMonitor.getInstance().recovery();
+    }
+
     logger.info("IoTDB is set up.");
   }