You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "MarvinYu (via GitHub)" <gi...@apache.org> on 2025/04/07 09:32:08 UTC
[I] [Bug] PopBufferMergeService 消息订阅者关系被移除 [rocketmq]
MarvinYu opened a new issue, #9318:
URL: https://github.com/apache/rocketmq/issues/9318
### Before Creating the Bug Report
- [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
- [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate.
- [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
### Runtime platform environment
Linux or other
### RocketMQ version
>= 5.0.0
### JDK Version
_No response_
### Describe the Bug
PopBufferMergeService#scanGarbage 代码
```java
if (System.currentTimeMillis() - entry.getValue().getTime() > minute5) {
POP_LOGGER.info("[PopBuffer]remove long time not used sub {} of topic {} in buffer!", cid, topic);
iterator.remove();
continue;
}
```
对于一些开发和测试环境而言,因为消息比较少,topic与消费者订阅关系很容易被移除,然后出现消费者消息出现skip的情况。
### Steps to Reproduce
消息发送者一天发送了5条消息,但是最终消费者只消费到其中三条
### What Did You Expect to See?
消费者消息不丢失
### What Did You See Instead?
消费者消息不丢失
### Additional Context
_No response_
--
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: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] PopBufferMergeService 消息订阅者关系被移除 [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9318:
URL: https://github.com/apache/rocketmq/issues/9318#issuecomment-4617945505
This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] PopBufferMergeService 消息订阅者关系被移除 [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9318:
URL: https://github.com/apache/rocketmq/issues/9318#issuecomment-4644616019
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] PopBufferMergeService 消息订阅者关系被移除 [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9318: [Bug] PopBufferMergeService 消息订阅者关系被移除
URL: https://github.com/apache/rocketmq/issues/9318
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org