You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by ch...@apache.org on 2022/08/19 13:52:41 UTC

[bookkeeper] branch master updated: Fix wrong stats name (#3450)

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

chenhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new be00ab5fae Fix wrong stats name (#3450)
be00ab5fae is described below

commit be00ab5faef6ea256c663ccbebfe2e9a3e175db1
Author: Hang Chen <ha...@163.com>
AuthorDate: Fri Aug 19 21:52:34 2022 +0800

    Fix wrong stats name (#3450)
    
    ### Modification
    Fix the wrong `cbThreadPoolQueueSize` doc name
---
 .../src/main/java/org/apache/bookkeeper/bookie/stats/JournalStats.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/stats/JournalStats.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/stats/JournalStats.java
index 48a726adb6..ed2aab9524 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/stats/JournalStats.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/stats/JournalStats.java
@@ -21,6 +21,7 @@ package org.apache.bookkeeper.bookie.stats;
 
 import static org.apache.bookkeeper.bookie.BookKeeperServerStats.ADD_ENTRY;
 import static org.apache.bookkeeper.bookie.BookKeeperServerStats.CATEGORY_SERVER;
+import static org.apache.bookkeeper.bookie.BookKeeperServerStats.CB_THREAD_POOL_QUEUE_SIZE;
 import static org.apache.bookkeeper.bookie.BookKeeperServerStats.FORCE_LEDGER;
 import static org.apache.bookkeeper.bookie.BookKeeperServerStats.JOURNAL_ADD_ENTRY;
 import static org.apache.bookkeeper.bookie.BookKeeperServerStats.JOURNAL_CB_QUEUED_LATENCY;
@@ -155,7 +156,7 @@ public class JournalStats {
     private final Counter journalCbQueueSize;
 
     @StatsDoc(
-            name = JOURNAL_CB_QUEUE_SIZE,
+            name = CB_THREAD_POOL_QUEUE_SIZE,
             help = "The queue size of cbThreadPool"
     )
     private final Counter cbThreadPoolQueueSize;