The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/fix/pop-buffer-merge-service-oom has succeeded.
Run started by GitHub user wang-jiahua (triggered by wang-jiahua).

Head commit for run:
4b0aa6d30521934967f93cf6ef9a3fab9e0cb034 / wangjiahua.wjh 
<[email protected]>
[ISSUE #10052] Add capacity check in PopBufferMergeService.addCkJustOffset to 
prevent OOM

addCk() already guards against buffer overflow with popCkMaxBufferSize,
but addCkJustOffset() did not have this check. Under high-concurrency
POP consumption with large messages, the buffer ConcurrentHashMap could
grow without bound, eventually causing OOM in PopBufferMergeService.

Fix: Add the same counter > popCkMaxBufferSize guard at the beginning
of addCkJustOffset(), consistent with addCk().

Report URL: https://github.com/apache/rocketmq/actions/runs/31770998599

With regards,
GitHub Actions via GitBox

Reply via email to