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] FileSegment's metadata lacks the last update #8532

Closed
3 tasks done
bxfjb opened this issue Aug 14, 2024 · 0 comments · Fixed by #8533
Closed
3 tasks done

[Bug] FileSegment's metadata lacks the last update #8532

bxfjb opened this issue Aug 14, 2024 · 0 comments · Fixed by #8533

Comments

@bxfjb
Copy link
Contributor

bxfjb commented Aug 14, 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

Any

RocketMQ version

develop

JDK Version

1.8

Describe the Bug

FlatAppendFile didn't flush metadata correctly when the last FileSegment's committing is triggered by AppendResult.FILE_FULL. The committed file's metadata will not be updated.
image

Steps to Reproduce

Run tieredstore, incorrect metadata is visible, including updateTimestamp, size, etc.

What Did You Expect to See?

Correct metadata.

What Did You See Instead?

Wrong metadata.

Additional Context

No response

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