1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Part of review changes to retrigger package build

This commit is contained in:
Alexander Presnyakov
2025-04-01 14:51:52 +00:00
parent 37453ad47e
commit 9a1ac0eb74
4 changed files with 22 additions and 7 deletions

View File

@@ -542,6 +542,7 @@ def get_desired_nodes(config=DEFAULT_MCS_CONF_PATH):
def get_read_only_nodes(root) -> list[str]:
"""Get names of read-only nodes from config"""
return [node.text for node in root.findall("./ReadOnlyNodes/Node")]
@@ -603,8 +604,8 @@ def get_dbroots(node, config=DEFAULT_MCS_CONF_PATH):
)
if dbroots and nc.is_read_only():
logger = logging.getLogger("dbroots")
logger.warning("Config contains dbroots %s for this read-only node, ignoring", dbroots)
logger = logging.getLogger('dbroots')
logger.warning(f'Config contains dbroots {dbroots} for this read-only node, ignoring')
return []
return dbroots