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

   ## Which Issue(s) This PR Fixes
   
   Fixes #10998
   
   ## Brief Description
   
   Tiered message dispatch stops before appending any message when the first 
message's size is already at or above `tieredStoreGroupCommitSize`. This leaves 
the dispatch list empty and prevents the commit offset from advancing, retrying 
the same message indefinitely.
   
   Only apply the group-size break after at least one message has been 
selected. A single oversized message can then be uploaded and dispatched 
normally.
   
   ## How Did You Test This Change?
   
   - Base SHA: `$(git rev-parse develop)`.
   - Confirmed current loop checks `bufferSize >= groupCommitSize` before 
appending the first message.
   - `git diff --check` passed.
   - Maven is unavailable in this environment, so the required test suite was 
not run; CI should validate.
   
   ## Risk
   
   Low; batching behavior is unchanged for subsequent messages, while an 
oversized first message no longer blocks the queue.
   
   AI-assisted contribution; implementation and verification performed against 
current `develop`.


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