Merge pull request #11242 from SergeTupchiy/add-schema_registry-app-to-reboot-list

fix(emqx_machine): add emqx_ee_schema_registry to the reboot apps list
This commit is contained in:
SergeTupchiy 2023-07-10 20:17:59 +03:00 committed by GitHub
commit 721dbad300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.