Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The broker will return two messages when query message #8438

Closed
3 tasks done
lizhimins opened this issue Jul 24, 2024 · 0 comments · Fixed by #8439
Closed
3 tasks done

[Bug] The broker will return two messages when query message #8438

lizhimins opened this issue Jul 24, 2024 · 0 comments · Fixed by #8439

Comments

@lizhimins
Copy link
Member

lizhimins commented Jul 24, 2024

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

Not dependent on a specific operating system.

RocketMQ version

RocketMQ 5.3.0

JDK Version

JDK 11

Describe the Bug

image

org.apache.rocketmq.tieredstore.core.MessageStoreFetcherImpl#queryMessageAsync 查询消息时,应该过滤不在时间范围内的消息,避免上层返回了重复的两条消息。

Steps to Reproduce

发送一条消息到 broker,随后使用 query message by uniqueKey 查询这条消息,将错误的返回两条。

What Did You Expect to See?

返回一条消息

What Did You See Instead?

Additional Context

No response

lizhimins added a commit to lizhimins/rocketmq that referenced this issue Jul 24, 2024
lizhimins added a commit to lizhimins/rocketmq that referenced this issue Jul 24, 2024
lizhimins added a commit to lizhimins/rocketmq that referenced this issue Jul 24, 2024
lizhimins added a commit that referenced this issue Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant