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

Remove WES stop exclusion logic

This commit is contained in:
Alexander Presnyakov
2025-04-03 18:22:29 +00:00
parent fbf4844e71
commit 3671d4953f
3 changed files with 7 additions and 4 deletions

View File

@@ -471,9 +471,6 @@ class MCSProcessManager:
# undefined behaviour when primary gone and then recovers (failover
# triggered 2 times).
for prog_name in cls._get_sorted_progs(True, reverse=True):
if is_read_only and prog_name == MCSProgs.WRITE_ENGINE_SERVER.value:
logging.debug('Node is in read-only mode, not stopping WriteEngine')
continue
if not cls.stop(prog_name, is_primary, use_sudo):
logging.error(f'Process "{prog_name}" not stopped properly.')
raise CMAPIBasicError(f'Error while stopping "{prog_name}"')