You've already forked mariadb-columnstore-engine
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user