You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCS server python code uses python3 by default in (RHEL|Centos)8, (Suse|SLES)15 and Fedora whilst other distributions use default python interpreter.
RPM now restarts MDB on uninstall. systemd logs a message if SM is not configured.
This commit is contained in:
@ -23,7 +23,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/mcs-loadbrm.service.in" "${CMAKE_CUR
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/mcs-storagemanager.service.in" "${CMAKE_CURRENT_SOURCE_DIR}/mcs-storagemanager.service" @ONLY)
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/mcs-stop-controllernode.sh.in" "${CMAKE_CURRENT_SOURCE_DIR}/mcs-stop-controllernode.sh" @ONLY)
|
||||
|
||||
IF(RPM MATCHES "(rhel|centos)8")
|
||||
IF(RPM MATCHES "(rhel|centos)8|(sles|suse)15|fedora")
|
||||
SET(PYTHON_SHEBANG "#!/usr/bin/env python3")
|
||||
ELSE()
|
||||
SET(PYTHON_SHEBANG "#!/usr/bin/env python")
|
||||
|
@ -29,5 +29,7 @@ if __name__ == '__main__':
|
||||
|
||||
|
||||
if storage.lower() == 's3' and not bucket.lower() == 'some_bucket':
|
||||
print("Using S3 storage.")
|
||||
sys.exit(0)
|
||||
print("S3 storage has not been set up for MariaDB ColumnStore. StorageManager service fails to start.")
|
||||
sys.exit(1)
|
||||
|
Reference in New Issue
Block a user