Skip to content

Support configuration to keep or delete tables when delete host. #314

@qixiaogang

Description

@qixiaogang

Can we support configuration to keep or delete tables when deleting host in https://github.com/Altinity/clickhouse-operator/blob/master/pkg/controller/chi/worker.go#L396

This is our case, when updating the chi, the sts fails, then we restart the operator to trigger creation of the sts. If creation of sts fails, we want to keep the PVC and data in the PVC, which means no deletion of the tables on host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpossible bugSomething isn't workingquestionTopic starter is waiting for reply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions