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
feat(cmapi): MCOL-5806 Review and rebase interface fixes.
* feat(cmapi): add read_only param for API add node endpoint * style(cmapi): fixes for string length and quotes
This commit is contained in:
committed by
Alexander Presnyakov
parent
9a1ac0eb74
commit
93cd9354a9
@@ -163,8 +163,8 @@ class ClusterHandler():
|
||||
"""
|
||||
logger: logging.Logger = logging.getLogger('cmapi_server')
|
||||
logger.debug(
|
||||
'Cluster add node command called. '
|
||||
f'Adding node {node} in {"read-only" if read_only else "read-write"} mode.'
|
||||
f'Cluster add node command called. Adding node {node} in '
|
||||
f'{"read-only" if read_only else "read-write"} mode.'
|
||||
)
|
||||
|
||||
response = {'timestamp': str(datetime.now())}
|
||||
@@ -182,7 +182,9 @@ class ClusterHandler():
|
||||
output_config_filename=config
|
||||
)
|
||||
else:
|
||||
logger.debug(f"Node {node} is read-only, skipping dbroot addition")
|
||||
logger.debug(
|
||||
f'Node {node} is read-only, skipping dbroot addition'
|
||||
)
|
||||
|
||||
except Exception as err:
|
||||
raise CMAPIBasicError('Error while adding node.') from err
|
||||
|
Reference in New Issue
Block a user