The GitHub Actions job "Run Integration Tests" on 
rocketmq.git/codex/update-broker-config-flag has failed.
Run started by GitHub user iloveeyjafjalla (triggered by iloveeyjafjalla).

Head commit for run:
53ec8dbc9b892b0a25bb629bf12414ef10d8806e / iloveeyjafjalla <[email protected]>
[ISSUE #11385] fix(tools): read -a/--updateAllBroker instead of treating it as 
a switch

The option is declared with the boolean as its argument (-a,--updateAllBroker 
<arg>)
but the cluster path only tested commandLine.hasOption('a') and never read the
value, so "-c <cluster> -a false" selected the master+slave fan-out and updated
every broker of the cluster. Read the argument so "-a false" (and a missing -a)
touch the masters only, while "-a true" keeps the documented behaviour; no doc,
script or caller in the repository passes a bare -a.

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

With regards,
GitHub Actions via GitBox

Reply via email to