-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Split federation plugin #13921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dcorbacho
wants to merge
9
commits into
main
Choose a base branch
from
split-federation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Split federation plugin #13921
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3cff8d5
to
3c5f0f0
Compare
…ge_federation and rabbitmq_federation_common
d71210d
to
99fd741
Compare
michaelklishin
requested changes
May 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rabbitmq_federation
Role
For those upgrading, we should make rabbitmq_federation
depend on both of the new plugins, and otherwise be the no-op just like it is right now.
Testing Results
When I start a node with
gmake run-broker PLUGINS="rabbitmq_management rabbitmq_federation rabbitmq_queue_federation rabbitmq_exchange_federation rabbitmq_federation_management"
then the node fails to boot during the plugin startup phase with
Starting broker...
1>
BOOT FAILED
===========
Exception during startup:
exit:{error,{{shutdown,{failed_to_start_child,q_links,{'EXIT',{undef,[{rabbit_federation_pg,start_scope,[rabbitmq_queue_federation_pg_scope],[]},{rabbit_federation_queue_link_sup_sup,start_link,0,[{file,"rabbit_federation_queue_link_sup_sup.erl"},{line,31}]},{supervisor,do_start_child_i,3,[{file,"supervisor.erl"},{line,996}]},{supervisor,do_start_child,3,[{file,"supervisor.erl"},{line,982}]},{supervisor,'-start_children/2-fun-0-',3,[{file,"supervisor.erl"},{line,966}]},{supervisor,children_map,4,[{file,"supervisor.erl"},{line,1891}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,932}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,2276}]}]}}}},{child,undefined,rabbit_federation_sup,{rabbit_federation_sup,start_link,[]},transient,false,300000,worker,[rabbit_federation_sup]}}}
rabbit_boot_steps:-run_step/2-lc$^0/1-0-/2, line 57
rabbit_boot_steps:run_step/2, line 60
rabbit_boot_steps:-run_boot_steps/1-lc$^0/1-0-/1, line 24
rabbit_boot_steps:run_boot_steps/1, line 25
rabbit:start/2, line 994
application_master:start_it_old/4, line 299
{exit,terminating,[{application_controller,call,2,[{file,"application_controller.erl"},{line,515}]},{application,'-ensure_all_started/3-lc$^0/1-0-',1,[{file,"application.erl"},{line,368}]},{application,ensure_all_started,3,[{file,"application.erl"},{line,368}]},{rabbit,'-start_it/1-fun-0-',1,[{file,"src/rabbit.erl"},{line,425}]},{timer,tc,2,[{file,"timer.erl"},{line,599}]},{rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,421}]},{init,start_it,1,[]},{init,start_em,1,[]}]}
Kernel pid terminated (application_controller) ("{application_start_failure,rabbit,{{error,{{shutdown,{failed_to_start_child,q_links,{'EXIT',{undef,[{rabbit_federation_pg,start_scope,[rabbitmq_queue_federation_pg_scope],[]},{rabbit_federation_queue_link_sup_sup,start_link,0,[{file,\"rabbit_federation_queue_link_sup_sup.erl\"},{line,31}]},{supervisor,do_start_child_i,3,[{file,\"supervisor.erl\"},{line,996}]},{supervisor,do_start_child,3,[{file,\"supervisor.erl\"},{line,982}]},{supervisor,'-start_children/2-fun-0-',3,[{file,\"supervisor.erl\"},{line,966}]},{supervisor,children_map,4,[{file,\"supervisor.erl\"},{line,1891}]},{supervisor,init_children,2,[{file,\"supervisor.erl\"},{line,932}]},{gen_server,init_it,2,[{file,\"gen_server.erl\"},{line,2276}]}]}}}},{child,undefined,rabbit_federation_sup,{rabbit_federation_sup,start_link,[]},transient,false,300000,worker,[rabbit_federation_sup]}}},{rabbit,start,[normal,[]]}}}")
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Splits
rabbitmq_federation
plugin intorabbitmq_queue_federation
,rabbitmq_exchange_federation
andrabbitmq_federation_common