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

Negtive diff in broker after delete and create an exist topic with messages #488

Open
francisoliverlee opened this issue Feb 5, 2025 · 0 comments · May be fixed by #489
Open

Negtive diff in broker after delete and create an exist topic with messages #488

francisoliverlee opened this issue Feb 5, 2025 · 0 comments · May be fixed by #489

Comments

@francisoliverlee
Copy link
Member

francisoliverlee commented Feb 5, 2025

The issue tracker is ONLY used for the CPP/C client (feature request of RocketMQ need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as to the following:

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)?
    delete and create an exist topic with messages

  • What did you expect to see?
    diff should be more than 0

  • What did you see instead?

    • broker log
    2025-02-05 13:47:33 INFO AdminBrokerThread_4 - delete topic config OK, topic: TopicConfig [topicName=xxxxxx-TOPIC readQueueNums=3, writeQueueNums=3, perm=RW-, topicFilterType=SINGLE_TAG, topicSysFlag=0, order=false]
    ...
    2025-02-05 13:47:39 INFO AdminBrokerThread_14 - create new topic [TopicConfig [topicName=xxxxxx-TOPIC readQueueNums=3, writeQueueNums=3, perm=RW-, topicFilterType=SINGLE_TAG, topicSysFlag=0, order=false]]
    ...
    2025-02-05 15:56:32 WARN PullMessageThread_15 - PULL_OFFSET_MOVED:correction offset. topic=xxxxxx, groupId=xxxxxx GROUP,requestOffset=16617, newOffset=0, suggestBrokerId=0
    
    

you can see consumer diff is negtive which not expected
such as : broker offset=0, consumer offset = 16555, diff = 0 - 16555 = -16555

  1. Please tell us about your environment:
  • What is your client version?
    2.2
@francisoliverlee francisoliverlee linked a pull request Feb 5, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant