Skip to content

Operator should add graceful shutdown to the pods #1979

@himadrisingh

Description

@himadrisingh

The ideal graceful flow would be:

  1. SYSTEM STOP MERGES -- no NEW merges start
  2. SYSTEM STOP FETCHES -- no NEW fetches (replication) start
  3. Wait for in-flight merges/fetches to finish
    (query system.merges / system.replicated_fetches to check)
  4. SYSTEM SHUTDOWN -- now safe to kill, nothing in progress

What the operator does today:

  1. SYSTEM SHUTDOWN -- everything in progress gets killed

Upgrades can cause some race condition with various setups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions