Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have modified the conditions for cluster migrations in ClickHouse. #1120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weisscorp
Copy link

Related #1097

The table was created correctly.

testdb │ schema_migrations │ ReplicatedMergeTree │ ReplicatedMergeTree('/clickhouse/{cluster01}/testdb/tables/schema_migrations', '{replica01}') ORDER BY sequence SETTINGS index_granularity = 8192

I launched it with these parameters.
/usr/local/bin/migrate -source file://extracted/$(Build.DefinitionName)/ch/testdb/ -database "clickhouse://$dbhost:$port?username=$login&password=$password&database=testdb&x-cluster-name=clickhouse_cluster&x-migrations-table-engine=ReplicatedMergeTree('/clickhouse/{cluster01}/{database}/tables/{table}', '{replica01}')" up

I have macros set up on my ClickHouse cluster for different internal clusters, shards, and replicas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant