Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Nov 25, 2024

See discussion #12807 for details. This is to avoid an exception when
the cleanup functions perform peer discovery and may get a single node back
instead of a list.

rabbit_peer_discovery:normalize/1 can be
changed to only return lists of nodes but then
there is a number of core code paths that
treat a single node as a special "preselected" value.

So let's keep that part and convert both
sets of nodes to lists before computing the
difference.


This is an automatic backport of pull request #12809 done by [Mergify](https://mergify.com).

See discussion #12807 for details.

rabbit_peer_discovery:normalize/1 can be
changed to only return lists of nodes but then
there is a number of core code paths that
treat a single node as a special "preselected"
value.

So let's keep that part and convert both
sets of nodes to lists before computing the
difference.

(cherry picked from commit 55411e6)
@michaelklishin michaelklishin added this to the 4.0.5 milestone Nov 25, 2024
@michaelklishin michaelklishin merged commit 989d3fc into v4.0.x Nov 25, 2024
194 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.0.x/pr-12809 branch November 25, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants