-
Notifications
You must be signed in to change notification settings - Fork 269
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
ClickHouse: Support migrations on cluster #432
ClickHouse: Support migrations on cluster #432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice implementation! LGTM :)
} | ||
|
||
// Makes sure driver creatinon is atomic | ||
func TestDriverCreationSanity(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice additional test. Maybe we should suggest enforcing it for all drivers.
@FatherCandle I gave you commit access, so feel free to merge if there is sufficient consensus on code review + test cases. |
That's awesome :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks great!
Would you mind also updating the ClickHouse section of the README with documentation listing the 4 new connection query params this PR introduces (on_cluster
, zoo_path
, cluster_macro
, and replica_macro
), too, please?
@dossy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look great, thanks! I think the documentation will be particularly useful for anyone who wants to take advantage of this new functionality.
Adding functionally to support usage of Dbmate with ClickHouse cluster.
Easy default usage with just supplying "on_cluster" query parameter.
Took the approach of trying to keep the changes simple without breaking any existing stuff.
95% of the changes in the PR are for the tests and setups of the ClickHouse cluster dockers.
Will happily answer any questions, and would really appreciate reviews.
Solves existing requests in discussions:
#356
#244