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/22 09:55:07 UTC
[incubator-iotdb] branch monitor updated: chore(): modify comments
This is an automated email from the ASF dual-hosted git repository.
liurui pushed a commit to branch monitor
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/monitor by this push:
new c28ca47 chore(): modify comments
c28ca47 is described below
commit c28ca471df028e9a17846351f2528f3859ddcfaa
Author: liuruiyiyang <24...@qq.com>
AuthorDate: Fri Nov 22 17:54:46 2019 +0800
chore(): modify comments
---
.../org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java | 4 ++--
server/src/main/java/org/apache/iotdb/db/monitor/StatMonitor.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java b/server/src/main/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java
index 9ed72ce..9dc462e 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java
@@ -66,7 +66,7 @@ public class ActiveTimeSeriesCounter implements IActiveTimeSeriesCounter {
} catch (Exception e) {
storageGroupHllMap.putIfAbsent(storageGroup, new HyperLogLog(LOG2M));
storageGroupHllMap.get(storageGroup).offer(path);
- LOGGER.error("Storage group {} registers active time series {} failed", storageGroup, path,
+ LOGGER.warn("Storage group {} registers active time series {} failed", storageGroup, path,
e);
}
}
@@ -99,7 +99,7 @@ public class ActiveTimeSeriesCounter implements IActiveTimeSeriesCounter {
// initialize the HLL counter
storageGroupHllMap.put(storageGroup, new HyperLogLog(LOG2M));
} catch (Exception e) {
- LOGGER.error("Update {} active ratio failed", storageGroup, e);
+ LOGGER.warn("Update {} active ratio failed", storageGroup, e);
} finally {
lock.writeLock().unlock();
}
diff --git a/server/src/main/java/org/apache/iotdb/db/monitor/StatMonitor.java b/server/src/main/java/org/apache/iotdb/db/monitor/StatMonitor.java
index 03c5572..ef31af0 100644
--- a/server/src/main/java/org/apache/iotdb/db/monitor/StatMonitor.java
+++ b/server/src/main/java/org/apache/iotdb/db/monitor/StatMonitor.java
@@ -151,7 +151,7 @@ public class StatMonitor implements IService {
}
public void recovery() {
- // currently we do not persist monitor metrics data
+ // currently we do not need do extra work to recovery
}
private void activate() {