btlqql opened a new pull request, #10741:
URL: https://github.com/apache/rocketmq/pull/10741

   ## What is changed
   
   - Notify `TimerMessageStore` after `DefaultMessageStore` truncation and 
clamp its consume-queue cursor.
   - Release queued timer requests that reference truncated CommitLog offsets.
   - Fast-fail out-of-range CommitLog reads and reject stale/non-timer messages 
before enqueue/dequeue conversion.
   - Add regression coverage for invalid timer messages and stale request 
cleanup.
   
   ## Why
   
   After CommitLog truncation, TimerLog entries can still reference offsets 
that are gone or later overwritten. The timer pipeline could repeatedly retry 
those requests and prevent dequeue progress.
   
   ## Tests
   
   - Server compile: `mvn -pl store -am -DskipTests ... compile`
   - Server tests: `mvn -pl store -am -Dtest=TimerMessageStoreTest 
-DfailIfNoTests=false ... test`
   - Result: 12 tests, 0 failures, 0 errors, 0 skipped.
   - `git diff --check`
   
   Fixes #10668
   


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