You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ma...@apache.org on 2023/02/22 07:48:43 UTC

[iotdb] branch IOTDB-5517 created (now 5a544742eb)

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

marklau99 pushed a change to branch IOTDB-5517
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 5a544742eb fix getting merge read and merge write mistakenly

This branch includes the following new commits:

     new 5a544742eb fix getting merge read and merge write mistakenly

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 getting merge read and merge write mistakenly

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

marklau99 pushed a commit to branch IOTDB-5517
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 5a544742eb9fb3412abc660bd2baf7ef53329206
Author: Liu Xuxin <li...@outlook.com>
AuthorDate: Wed Feb 22 15:48:36 2023 +0800

    fix getting merge read and merge write mistakenly
---
 .../java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java b/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java
index 00d550be49..92552914dd 100644
--- a/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java
+++ b/metrics/interface/src/main/java/org/apache/iotdb/metrics/metricsets/disk/DiskMetrics.java
@@ -106,7 +106,7 @@ public class DiskMetrics implements IMetricSet {
           diskMetricsManager,
           x -> x.getMergedReadOperationForDisk().getOrDefault(diskID, 0L),
           TYPE,
-          MERGED_WRITE,
+          MERGED_READ,
           NAME,
           diskID);
       metricService.createAutoGauge(
@@ -115,7 +115,7 @@ public class DiskMetrics implements IMetricSet {
           diskMetricsManager,
           x -> x.getMergedWriteOperationForDisk().getOrDefault(diskID, 0L),
           TYPE,
-          MERGED_READ,
+          MERGED_WRITE,
           NAME,
           diskID);
       metricService.createAutoGauge(