Skip to content

bug: hardcoded cluster on async migrations #207

Description

@gempir

Migrations with mode=async error with Requested cluster 'cluster' not found even when clickhouse.cluster is set (e.g. moebel_cluster) and the SQL uses ON CLUSTER 'moebel_cluster'.

I think the problem are the these points here using the wrong cluster.

https://github.com/obsessiondb/chkit/blob/main/packages/clickhouse/src/index.ts#L769
https://github.com/obsessiondb/chkit/blob/main/packages/clickhouse/src/index.ts#L795

Same in https://github.com/obsessiondb/chkit/blob/main/packages/plugin-backfill/src/async-backfill.ts#L152

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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