You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Linux 4.19
RocketMQ version
latest version in develop branch
JDK Version
JDK11
Describe the Bug
The design logic of IndexFile in the current tiered storage system is confusion and there are some bugs, such as:
If the file that has been compacted is not successfully uploaded or still uploading, and the broker is restarted or crashes, the "current file" will not be initialized properly, resulting in the content of the file not being initialized to -1.
There are resource release issues, and the logic of resource release when compacting fails has not been considered.
The current design affects the main process of sending and receiving messages for building cq.
The current implementation of lock usage is incorrect.
Steps to Reproduce
None
What Did You Expect to See?
Resource not delete normally.
What Did You See Instead?
None
Additional Context
I will submit a bugfix for the current implementation and fix the ignored test cases. In the future, I hope to refactor the implementation of this IndexFile section.
The text was updated successfully, but these errors were encountered:
lizhimins
changed the title
[Bug] Temporary fix index file bug in tiered storage module
[Bug] Bug fix and refactoring of the Indexfile in tiered storage
Aug 22, 2023
Before Creating the Bug Report
Runtime platform environment
Linux 4.19
RocketMQ version
latest version in develop branch
JDK Version
JDK11
Describe the Bug
The design logic of IndexFile in the current tiered storage system is confusion and there are some bugs, such as:
Steps to Reproduce
None
What Did You Expect to See?
Resource not delete normally.
What Did You See Instead?
None
Additional Context
I will submit a bugfix for the current implementation and fix the ignored test cases. In the future, I hope to refactor the implementation of this IndexFile section.
The text was updated successfully, but these errors were encountered: