fix(emqx_machine): add emqx_ee_schema_registry to the reboot apps list

As emqx_ee_schema_registry uses Mria tables (schema_registry_shard),
a node joining a cluster needs to restart this application in order to
restart relevant Mria shard processes.
This commit is contained in:
Serge Tupchii 2023-07-10 17:34:34 +03:00 committed by Thales Macedo Garitezi
parent 5b0695ca19
commit cacfb51280
2 changed files with 7 additions and 1 deletions

View File

@ -157,7 +157,8 @@ basic_reboot_apps_edition(ee) ->
emqx_s3,
emqx_ft,
emqx_eviction_agent,
emqx_node_rebalance
emqx_node_rebalance,
emqx_ee_schema_registry
];
%% unexcepted edition, should not happen
basic_reboot_apps_edition(_) ->

View File

@ -0,0 +1,5 @@
Restart emqx_ee_schema_registry when a node joins a cluster.
As emqx_ee_schema_registry uses Mria tables, a node joining a cluster needs to restart this application in order to
start relevant Mria shard processes.
This is needed to ensure a correct behaviour in Core/Replicant mode.