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.

@vir-mir
Copy link

vir-mir commented Dec 25, 2024

Dear All @dhui @weisscorp

Tell me, is it possible to accept this?
It seems like the test just needs to be restarted?

@weisscorp
Copy link
Author

Hi! I have compiled a separate binary for myself and all my clusters work on it.
and here the tests fail, I don’t see any reasons, I can’t fix it.

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.

2 participants