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 offset in the timerCheckPoint will not be corrected when the commitlog and consumeQueue are truncated #7480

Closed
3 tasks done
RongtongJin opened this issue Oct 19, 2023 · 3 comments · Fixed by #7488
Labels

Comments

@RongtongJin
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

Linux

RocketMQ version

5.1.4

JDK Version

1.8

Describe the Bug

The offset in the timerCheckPoint will not be corrected when the commitlog and consumeQueue are truncated

image

Then currentOffset is not moving

image

Timer messages are lost

Steps to Reproduce

#7468

Regarding the validation of this PR, when performing an in-place upgrade on a broker with data and both enabledAppendPropCRC and forceVerifyPropCRC are set to true, the commitlog and consumeQueue are truncated. However, the currentQueueOffset in TimerMessageStore remains stuck.

What Did You Expect to See?

The currentQueueOffset in timerMessageStore will be corrected when the commitlog and consumeQueue are truncate

What Did You See Instead?

The currentQueueOffset in timerMessageStore remains stuck.

Additional Context

No response

@RongtongJin
Copy link
Contributor Author

@guyinyou

Copy link

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.

@github-actions github-actions bot added the stale label Oct 19, 2024
Copy link

This issue was closed because it has been inactive for 3 days since being marked as stale.

RongtongJin added a commit that referenced this issue Dec 4, 2024
…cted when the commitlog and consumeQueue are truncated (#7488)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant