Before Creating the Bug Report
Runtime platform environment
All
RocketMQ version
develop
JDK Version
All
Describe the Bug
IndexStoreFile reads endTimestamp from INDEX_BEGIN_TIME_STAMP instead of INDEX_END_TIME_STAMP during recovery.
Steps to Reproduce
Write an index whose timestamp is later than the file’s begin timestamp, then close and reopen the file.
What Did You Expect to See?
The reopened file should retain the persisted end timestamp.
What Did You See Instead?
The end timestamp becomes the begin timestamp, which can cause valid query results to be skipped.
Additional Context
No response
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
All
RocketMQ version
develop
JDK Version
All
Describe the Bug
IndexStoreFilereadsendTimestampfromINDEX_BEGIN_TIME_STAMPinstead ofINDEX_END_TIME_STAMPduring recovery.Steps to Reproduce
Write an index whose timestamp is later than the file’s begin timestamp, then close and reopen the file.
What Did You Expect to See?
The reopened file should retain the persisted end timestamp.
What Did You See Instead?
The end timestamp becomes the begin timestamp, which can cause valid query results to be skipped.
Additional Context
No response