The ideal graceful flow would be:
- SYSTEM STOP MERGES -- no NEW merges start
- SYSTEM STOP FETCHES -- no NEW fetches (replication) start
- Wait for in-flight merges/fetches to finish
(query system.merges / system.replicated_fetches to check)
- SYSTEM SHUTDOWN -- now safe to kill, nothing in progress
What the operator does today:
- SYSTEM SHUTDOWN -- everything in progress gets killed
Upgrades can cause some race condition with various setups.
The ideal graceful flow would be:
(query system.merges / system.replicated_fetches to check)
What the operator does today:
Upgrades can cause some race condition with various setups.