You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "zjncs (via GitHub)" <gi...@apache.org> on 2026/09/05 07:46:38 UTC

[PR] [Bug] Reject invalid percentile metadata [rocketmq]

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

   Fixes #10871
   
   StatisticsBrief now rejects non-increasing ranges, non-positive slot counts, slot counts wider than their range, and total slot counts that overflow the backing array size. This prevents delayed division-by-zero and invalid bucket calculations.
   
   Added focused regression cases for each invalid shape.
   
   Verification: git diff --check passed; Maven unavailable locally, CI should run StatisticsBriefTest/common checks. AI-assisted contribution.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org