Skip to content

Commit

Permalink
Merge "[mariadb] Wait actuall monitor and leader election threads are…
Browse files Browse the repository at this point in the history
… stopped"
  • Loading branch information
MOS CI authored and Gerrit Code Review committed Nov 14, 2024
2 parents b05e4b2 + 32d8378 commit 1cd4a0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/infra/mariadb/templates/bin/_start.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,8 @@ def sigterm_shutdown(x, y):
logger.info("Got a sigterm from the container runtime, time to go.")
stop_event.set()
stop_mysqld()
monitor_cluster_thread.join()
leader_election_thread.join()
sys.exit(0)


Expand Down

0 comments on commit 1cd4a0b

Please sign in to comment.