Skip to content

Conversation

@lukebakken
Copy link
Collaborator

@lukebakken lukebakken commented Aug 13, 2025

Follow-up to #14118

Without this PR:

$ ./sbin/rabbitmqctl -n rabbit-1 cluster_status --formatter=json | jq '.running_nodes'
"rabbit-3@SEA-3LG5HVJUWJKrabbit-2@SEA-3LG5HVJUWJKrabbit-1@SEA-3LG5HVJUWJK"

With this PR:

$ ./sbin/rabbitmqctl -n rabbit-1 cluster_status --formatter=json | jq '.running_nodes'
[
  "rabbit-3@SEA-3LG5HVJUWJK",
  "rabbit-2@SEA-3LG5HVJUWJK",
  "rabbit-1@SEA-3LG5HVJUWJK"
]

Copy link
Collaborator

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on my machine too 👍

@michaelklishin michaelklishin added this to the 4.2.0 milestone Aug 13, 2025
@michaelklishin michaelklishin merged commit 0da2ee8 into rabbitmq:main Aug 13, 2025
280 of 281 checks passed
@michaelklishin
Copy link
Collaborator

Thank you for the quick turnaround, @lukebakken @the-mikedavis!

michaelklishin added a commit that referenced this pull request Aug 13, 2025
Do not "pre convert" `running_nodes` to strings (backport #14381)
@ansd
Copy link
Member

ansd commented Aug 13, 2025

Thank you @lukebakken and @the-mikedavis !

@lukebakken lukebakken deleted the lukebakken/pr-14118-followup branch August 14, 2025 14:29
lukebakken added a commit to lukebakken/rmq-rabbitmq-server that referenced this pull request Sep 5, 2025
A list of binaries was incorrectly converted by
`unicode:characters_to_binary` into one big binary. Add a function head
to match this case.

Also, add tests for the values that were not correctly formatted prior
to rabbitmq#14101 and rabbitmq#14381
lukebakken added a commit that referenced this pull request Sep 5, 2025
A list of binaries was incorrectly converted by
`unicode:characters_to_binary` into one big binary. Add a function head
to match this case.

Also, add tests for the values that were not correctly formatted prior
to #14101 and #14381
mergify bot pushed a commit that referenced this pull request Sep 5, 2025
A list of binaries was incorrectly converted by
`unicode:characters_to_binary` into one big binary. Add a function head
to match this case.

Also, add tests for the values that were not correctly formatted prior
to #14101 and #14381

(cherry picked from commit 3280bed)
mergify bot pushed a commit that referenced this pull request Sep 5, 2025
A list of binaries was incorrectly converted by
`unicode:characters_to_binary` into one big binary. Add a function head
to match this case.

Also, add tests for the values that were not correctly formatted prior
to #14101 and #14381

(cherry picked from commit 3280bed)
(cherry picked from commit fe0697d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants