You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/10/12 11:31:20 UTC

[GitHub] [rocketmq] maixiaohai commented on a change in pull request #3373: [ISSUE #3371]Part D: Add ak and ck stats to broker stats manager

maixiaohai commented on a change in pull request #3373:
URL: https://github.com/apache/rocketmq/pull/3373#discussion_r727040648



##########
File path: broker/src/main/java/org/apache/rocketmq/broker/processor/PopBufferMergeService.java
##########
@@ -536,6 +537,12 @@ private void putCkToStore(final PopCheckPointWrapper pointWrapper, final boolean
             POP_LOGGER.error("[PopBuffer]put ck to store fail: {}, {}", pointWrapper, putMessageResult);
             return;
         }
+        
+        this.brokerController.getBrokerStatsManager().incTopicPutNums(TopicValidator.RMQ_SYS_SCHEDULE_TOPIC, putMessageResult.getAppendMessageResult().getMsgNum(), 1);

Review comment:
       Thanks for your advice~ I'll check it later




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org