Aias00 opened a new issue, #10941:
URL: https://github.com/apache/rocketmq/issues/10941

   ## Problem
   
   `DefaultReceiptHandleManager.clearGroup` removes a receipt-handle group from 
`receiptHandleGroupMap` before submitting its cleanup task to the bounded 
`returnHandleGroupWorkerService`.
   
   If the executor rejects the submission because its queue is full or it is 
shutting down, `submit` throws and the removed group is not restored. The Proxy 
then loses the handle state without sending the intended clear/renew request 
and cannot retry it on the next scheduled scan.
   
   ## Expected behavior
   
   A rejected cleanup submission must retain or restore the group so a later 
scheduled pass can retry cleanup. The rejection should be logged without 
leaking handle contents.
   
   ## Scope
   
   Handle `RejectedExecutionException` around `clearGroup` task submission and 
add a regression test that forces rejection.


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