Skip to content

Bug: table migration failure doesn't return error #2021

Description

@dentiny

Hi team, we're deploying clickhouse in kubernetes cluster with this project. One thing we found weird is, in rare cases we suffer error messages like There is no table xxx on server, which indicates a missing schema population issue.

When checking the source code, I found on table migration failure, we only log error messages but not return error.
IIUC, during reconciliation, if we ignore the migration failure, certain host status will be transitioned from "Requested" to "Success", then serve traffic and suffer schema errors.

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