You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ne...@apache.org on 2022/07/22 08:48:27 UTC
[iotdb] branch master updated: Modified the processing of metrics for collecting the number of storage groups (#6749)
This is an automated email from the ASF dual-hosted git repository.
neuyilan 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 d4b41bbb71 Modified the processing of metrics for collecting the number of storage groups (#6749)
d4b41bbb71 is described below
commit d4b41bbb71818856cd04fc04e47a91d967603243
Author: 23931017wu <71...@users.noreply.github.com>
AuthorDate: Fri Jul 22 16:48:22 2022 +0800
Modified the processing of metrics for collecting the number of storage groups (#6749)
---
.../apache/iotdb/confignode/persistence/partition/PartitionInfo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java b/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java
index aa64fd0cbe..616023d1eb 100644
--- a/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java
+++ b/confignode/src/main/java/org/apache/iotdb/confignode/persistence/partition/PartitionInfo.java
@@ -120,7 +120,7 @@ public class PartitionInfo implements SnapshotProcessor {
Metric.STORAGE_GROUP.toString(),
MetricLevel.CORE,
storageGroupPartitionTables,
- o -> o.size() / 2,
+ o -> o.size(),
Tag.NAME.toString(),
"number");
MetricsService.getInstance()