You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
Change the debugging output prints to separate multi-node with local storage
and single-node with any type of storage
This commit is contained in:
@@ -40,10 +40,15 @@ if __name__ == '__main__':
|
|||||||
is_primary = False
|
is_primary = False
|
||||||
|
|
||||||
# For multi-node with local storage or default installations
|
# For multi-node with local storage or default installations
|
||||||
if (storage.lower() != 's3' and master_addr != default_addr) or \
|
multi_with_local_storage = storage.lower() != 's3' and master_addr != default_addr
|
||||||
master_addr == default_addr:
|
if multi_with_local_storage is True or master_addr == default_addr:
|
||||||
|
# This might be not a primary in a multi-node cluster but we are safe
|
||||||
|
# to save BRM locally
|
||||||
is_primary = True
|
is_primary = True
|
||||||
print('Multi-node with local-storage detected.')
|
if multi_with_local_storage is True:
|
||||||
|
print('This is a multi-node installation with a local-storage.')
|
||||||
|
else:
|
||||||
|
print(' This is a single-node installation.')
|
||||||
else:
|
else:
|
||||||
has_requests = False
|
has_requests = False
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user