Maintenance mode state: don't force a local replica on boot
It breaks forced node removal in some tricky scenarios because node schemas do not match, and Mnesia is sensitive to this.
This commit is contained in:
parent
2d6964d89e
commit
a633312450
|
|
@ -64,8 +64,7 @@ boot() ->
|
|||
try
|
||||
_ = rabbit_table:create(
|
||||
TableName,
|
||||
status_table_definition()),
|
||||
_ = rabbit_table:ensure_table_copy(TableName, node())
|
||||
status_table_definition())
|
||||
catch throw:Reason ->
|
||||
rabbit_log:error(
|
||||
"Failed to create maintenance status table: ~p",
|
||||
|
|
|
|||
Loading…
Reference in New Issue