Skip to content

cli/start: improper graceful drain upon stop trigger shutdown requests #108611

@knz

Description

@knz

Describe the problem

The shutdown logic in cli/start tries graceful drains when receiving shutdown requests. This is incorrect; currently all shutdown reasons require non-graceful shutdowns.

Expected behavior

For all the current reasons the code in cli/start should use a non-graceful shutdown.

Epic: CRDB-28893

Jira issue: CRDB-30548

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cli-serverCLI commands that pertain to CockroachDB server processesA-server-start-drainPertains to server startup and shutdown sequencesC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.db-cy-23

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions