The GitHub Actions job "Coverage" on 
rocketmq.git/patch/broker-src-main-java-org-apache-rocketmq has failed.
Run started by GitHub user Metastarx (triggered by Metastarx).

Head commit for run:
3374da54beacb7228a7bba10f6343f74eb303896 / zhang hongyuan 
<[email protected]>
[ISSUE #11305] fix(broker): do not hold the lmq prefix index read lock across 
callbacks

The prefix traversal ran the caller's visitor while it still held the read
lock, so a wildcard dispatch blocked the store's reput thread on the write
lock taken by onLmqCreate, and any visitor that mutated the index deadlocked
on the read lock the same thread already held.

Copy the matching names under the lock and run the visitor (and the per
entry offset lookups) on that snapshot instead, so the lock is only held for
the copy.

Signed-off-by: zhang hongyuan <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to