You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2026/05/18 06:04:01 UTC

(iotdb) branch master updated: fix error remove type (#17689)

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

jt2594838 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 4ac0b7ee029 fix error remove type (#17689)
4ac0b7ee029 is described below

commit 4ac0b7ee029587d7a6f3393dcac24ca53fc0b7c3
Author: ZhangHongYin <46...@users.noreply.github.com>
AuthorDate: Mon May 18 14:03:54 2026 +0800

    fix error remove type (#17689)
---
 .../db/protocol/thrift/handler/RPCServiceThriftHandlerMetrics.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/handler/RPCServiceThriftHandlerMetrics.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/handler/RPCServiceThriftHandlerMetrics.java
index 1b1f6fb62a8..4189d5f4b21 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/handler/RPCServiceThriftHandlerMetrics.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/handler/RPCServiceThriftHandlerMetrics.java
@@ -123,13 +123,13 @@ public class RPCServiceThriftHandlerMetrics implements IMetricSet {
         "ClientRPC");
 
     metricService.remove(
-        MetricType.TIMER,
+        MetricType.GAUGE,
         Metric.THRIFT_RPC_UNCOMPRESS_SIZE.toString(),
         Tag.NAME.toString(),
         "unCompressionSize");
 
     metricService.remove(
-        MetricType.TIMER,
+        MetricType.GAUGE,
         Metric.THRIFT_RPC_COMPRESS_SIZE.toString(),
         Tag.NAME.toString(),
         "compressionSize");