Clickhouse schema_migrations table doesn't support cluster wide replication #356
Replies: 3 comments
-
Seems it wouldn't be hard to add such support in dbmate, just need some cluster to test against. |
Beta Was this translation helpful? Give feedback.
-
You can easily spin up a cluster on local machine using docker compose. Please check this repo https://github.com/tetafro/clickhouse-cluster for reference. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, You are more than welcome to review it and upvote if you think it looks mature enough to be merged :) |
Beta Was this translation helpful? Give feedback.
-
My migrations look like this
After running the migration I'm expecting
schema_migrations
table to be replicated across the cluster , So that I've a consistent schema migration information across clustergolang-migrate solved this issue by specifying
x-cluster-name
query parameter in DSN string.Beta Was this translation helpful? Give feedback.
All reactions