Skip to content

why we need 'pre-shutdown-ha.sh' #914

Open
@huyiqiu

Description

Hi, I'm not sure why we need 'pre-shutdown-ha.sh' as a preStop hook, since orchestrator can perform auto-failover.

i set '--failover-before-shutdown=false' and kill master pod, the slave pod is promoted as new master, and everything looks fine. Did I miss something important?

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