You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2026/10/09 10:57:18 UTC

[GH] (rocketmq/fix/mq-admin-impl-query-message-latch): Workflow run "CodeQL Analysis" failed!

The GitHub Actions job "CodeQL Analysis" on rocketmq.git/fix/mq-admin-impl-query-message-latch has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
27f3cc1165a83dca521fa38c9287f545287fced7 / zjncs <18...@163.com>
[ISSUE #C2] Count down the queryMessage latch when the invocation fails

MQAdminImpl.queryMessage registers an InvokeCallback that releases the
per-broker CountDownLatch, but when MQClientAPIImpl.queryMessage itself
throws synchronously (e.g. RemotingConnectException for an unreachable
broker) the callback never fires and the catch block only logs. The
await(timeoutMillis * 4) below then blocks for the whole window — 24s
with the default timeoutMillis of 6s — before reporting that no message
was found. Release this broker's latch count in the catch block.

Signed-off-by: zjncs <18...@163.com>

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

With regards,
GitHub Actions via GitBox