Skip to content

Add support to replicated clickhouse cluster #869

Open
@jderusse

Description

@jderusse

When running goose on a clickhouse cluster, it fails to get the list of "previous" migrations (sometime querying a node a get a partial list of migrations)

Possible fix:

  1. change the engine
- ENGINE = MergeTree()
+ ENGINE = ReplicatedMergeTree('/clickhouse/{cluster}/tables/{shard}/{database}/{table}', '{replica}')

Not sure how this can be defined in goose via the CreateTable function (or should it be a new driver ? 🤔 )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions