BILLYisavailable commented on issue #10863:
URL: https://github.com/apache/rocketmq/issues/10863#issuecomment-7221921378

   Confirmed this still reproduces on develop 
19352a24679337276e041f67307c6d284dd48de9. In addition to the 
CheckpointFile-level case, I exercised the EpochFileCache caller: start with 
three entries, call truncateSuffixByEpoch(1), verify the in-memory size is 
zero, then initialize a new EpochFileCache from the same path. The original 
implementation reloads three entries (`expected 0 but was 3`).
   
   #11642 fixes the empty write and valid-empty-primary handling with 
regression coverage for that caller. The six CheckpointFile tests and eight 
EpochFileCache tests pass with the change. The PR credits the earlier closed 
attempts #10868 and #11032; malformed numeric headers are left to the separate 
#11463 change.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to