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

Head commit for run:
2279a41b305e61ecc2fd26a0b9dcf3d6766fd4d0 / 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/28496687379

With regards,
GitHub Actions via GitBox

Reply via email to