The GitHub Actions job "Build" on 
rocketmq-clients.git/fix/rust-push-consumer-shutdown has succeeded.
Run started by GitHub user leizhiyuan (triggered by leizhiyuan).

Head commit for run:
b4504f9d0b518778e969d91b30c495dd94b1ebec / leizhiyuann <[email protected]>
[ISSUE #1422] [Rust] Stop receiving once shutdown starts and shut queue actors 
down concurrently

Workers checked the shutdown token and the 1 ms ticker in an unbiased select!, 
so a worker often issued another long polling request after shutdown started. 
Check the token first, like ProcessQueueImpl checks consumer.isRunning() before 
receiving.

Queue actors were shut down one by one, each waiting for its in-flight long 
polling request, so the waits added up across queues. Shut them down 
concurrently, so shutdown takes about one long polling timeout in total, like 
PushConsumerImpl#waitingReceiveRequestFinished.

Depends on #1404 and #1381.

Report URL: https://github.com/apache/rocketmq-clients/actions/runs/39886707336

With regards,
GitHub Actions via GitBox

Reply via email to