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

   ## Version\n\nReproduced on develop at e3458616d.\n\n## Problem\n\n checks 
only the current active count before it processes the request. A request that 
adds multiple active Lite subscriptions can therefore exceed .  does not check 
the limit at all. Conversely, an idempotent retry for an already active 
subscription is rejected once the quota is full.\n\n## Reproduction\n\n1. 
Configure  as .\n2. Submit a partial subscription update with two active Lite 
topics, or submit a complete update containing two active Lite topics.\n3. 
Observe that the registry accepts both entries and the active count becomes 
.\n4. Add one active subscription, then retry the same partial update. Observe 
that the retry throws .\n\n## Expected\n\nBoth update paths should enforce the 
limit against the net number of newly active references. Existing references 
must remain idempotent, and rejected updates must not partially mutate the 
registry.\n\n## Regression coverage\n\n contains focused failing tests for bat
 ch overflow, complete-update overflow, and idempotent retries at the limit.


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