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

fix(cmapi): MCOL-5899 confusing cluster_mode status when columnstore offline.

This commit is contained in:
mariadb-AlanMologorsky
2025-06-17 05:53:02 +03:00
committed by Leonid Fedorov
parent dd9298f988
commit 5d0b3a88f3

View File

@@ -83,6 +83,7 @@ class ClusterHandler():
r_json = r.json() r_json = r.json()
if len(r_json.get('services', 0)) == 0: if len(r_json.get('services', 0)) == 0:
r_json['dbrm_mode'] = 'offline' r_json['dbrm_mode'] = 'offline'
r_json['cluster_mode'] = 'offline'
response[f'{str(node)}'] = r_json response[f'{str(node)}'] = r_json
num_nodes += 1 num_nodes += 1