1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Added --coordinator-only option to "mcs cluster node add"

This commit is contained in:
Alexander Presnyakov
2025-07-18 02:38:52 +00:00
parent 4c54defd37
commit a193104ee1
2 changed files with 11 additions and 2 deletions

View File

@ -1023,7 +1023,7 @@ def _add_WES(root, pm_num, node):
def _add_read_only_node(root: etree.Element, node: str, add_other_nodes_dbroots: bool = True) -> None:
'''Add node name to ReadOnlyNodes if it is not already there, with attribute'''
'''Add node name to ReadOnlyNodes if it is not already there, also set attribute add_other_nodes_dbroots in the tag'''
read_only_nodes = root.find('./ReadOnlyNodes')
if read_only_nodes is None:
read_only_nodes = etree.SubElement(root, 'ReadOnlyNodes')