The GitHub Actions job "Build and Run Tests by Maven" 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 <[email protected]>
[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 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to