apache / rocketmq

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.

Home Page:https://rocketmq.apache.org/

Repository from Github https://github.comapache/rocketmqRepository from Github https://github.comapache/rocketmq

[Bug] Broker's inflight and available message counts are incorrect when the pop consumer service is enabled

lizhimins opened this issue · comments

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

Linux 5.10

RocketMQ version

develop branch | before 5.3.2-SNAPSHOT

JDK Version

JDK11

Describe the Bug

Broker inflight and available messsage count wrong when pop consumer service enable

Steps to Reproduce

Enable the pop kv feature

Image

What Did You Expect to See?

Image

What Did You See Instead?

inflight and available messsage count wrong

Additional Context

inflight and available messsage count wrong