The GitHub Actions job "License Checker" on 
rocketmq-clients.git/nodejs-master-queue-broker-id has failed.
Run started by GitHub user PDGGK (triggered by PDGGK).

Head commit for run:
63530d5884ae905d640c9e1132ab2a6da31f65c3 / Zihan Dai <[email protected]>
[ISSUE #866] [Node.js] Filter load balancer queues by broker id, not queue id

PublishingLoadBalancer and SubscriptionLoadBalancer compared
MessageQueue.queueId with MASTER_BROKER_ID, so they kept only queue 0
of every broker, slave brokers included. When queue 0 lacks the needed
permission, as on a topic whose read and write queue counts differ,
nothing was left and randomInt(0) threw a RangeError instead of the
intended "No writable/readable message queue found" error.

Compare broker.id, as the Java client does, and check for an empty
queue list before picking the start index.

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

With regards,
GitHub Actions via GitBox

Reply via email to