1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-5218: Additional fix to mcs-loadbrm and mcs-savebrm + postinstall.

[fix] bug in detecting primary.
[fix] minor bugs.
[add] not getting meta on secondaries if no cmapi available on primary node.
[fix] postinstall script to mask mariadb-columnstore service on multinode configurations.
This commit is contained in:
mariadb-AlanMologorsky
2022-09-23 21:57:49 +03:00
parent f8cc3d885d
commit 0ee1d94f71
3 changed files with 48 additions and 22 deletions

View File

@ -173,6 +173,8 @@ def is_node_primary(conf_root):
is_primary = dict_response.get('is_primary', False)
if is_primary and is_primary in ('True', 'true'):
is_primary = True
else:
is_primary = False
return is_primary
logging.info('Trying to detect primary without cmapi running.')