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

rocketmq 5.x dledger broker abnormal restart, consumequeue data is deleted #8032

Closed
3 tasks done
LittleBoy18 opened this issue Apr 17, 2024 · 0 comments · Fixed by #8033
Closed
3 tasks done

rocketmq 5.x dledger broker abnormal restart, consumequeue data is deleted #8032

LittleBoy18 opened this issue Apr 17, 2024 · 0 comments · Fixed by #8033

Comments

@LittleBoy18
Copy link
Contributor

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

k8s

RocketMQ version

5.2.0

JDK Version

jdk11

Describe the Bug

kill dledger pod. when the pod restart,the consumequeue data is deleted.

Steps to Reproduce

  1. restart broker
  2. i found store/consumequeue data is deleted

What Did You Expect to See?

consumequeue data reserve

What Did You See Instead?

consumequeue data is deleted

Additional Context

1.found err log in store.log "DupInfo in properties check failed. dupInfo= null"
2. found code in Commitlog.java and debug
image
DUP_INFO is always null,that lead to processOffset is set to 0.
3. in ConsumeQueue.java, processOffset is equal phyOffset,that trigger consumequeue data deleted.
image

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