1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00
This commit is contained in:
Alexander Presnyakov
2025-07-09 01:47:01 +00:00
committed by Serguey Zefirov
parent af6c5bce28
commit f265d6ae18
3 changed files with 8 additions and 3 deletions

View File

@@ -224,14 +224,16 @@ class ClusterHandler():
node, input_config_filename=config,
output_config_filename=config
)
with NodeConfig().modify_config(config) as root:
update_dbroots_of_readonly_nodes(root)
except Exception as err:
raise CMAPIBasicError('Error while removing node.') from err
response['node_id'] = node
active_nodes = get_active_nodes(config)
if len(active_nodes) > 0:
with NodeConfig().modify_config(config) as root:
update_dbroots_of_readonly_nodes(root)
update_revision_and_manager(
input_config_filename=config, output_config_filename=config
)