-
Notifications
You must be signed in to change notification settings - Fork 41
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
Scale out Clickhouse to a multinode cluster #3494
Merged
Merged
Changes from 63 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
0b21df2
Initial functional 2 replica 3 coordinator cluster
karencfv 3281cbd
Create config templates and pseudocode for updated init config
karencfv b628be6
Dynamically build configs for servers and keepers
karencfv cdfb1d1
Create a separate service for keepers
karencfv 41518c8
Update manifest and file location
karencfv 795327e
clean up
karencfv 73e5e22
make linter happy
karencfv 83449a2
Zone image is clickhouse-keeper.tar.gz not clickhouse_keeper.tar.gz
karencfv 38fb86d
Merge branch 'main' into ch-replicated-engine
karencfv 06b8f21
Only use underscores to simplify
karencfv b5dd484
Merge remote-tracking branch 'upstream' into ch-replicated-engine
karencfv ca7ad33
Create composite packages to include internal-dns tar
karencfv bbbbd28
Get internal DNS working
karencfv 7b7b245
Add datastore to keeper service
karencfv 72cc038
Append default and custom configs
karencfv 34f370b
Give keepers dynamic discoverable IDs
karencfv 79dd329
Clean up scripts and configs
karencfv 94f8376
Clean up
karencfv cea0612
First pass at making tests pass
karencfv 95be228
gargh linter
karencfv e24a2dd
Add additional zpools for dev envs
karencfv f6aac77
Add flag to internal-dns-cli to output host name only
karencfv 758fd39
Revert testing configuration and clean up
karencfv ef914b1
Run oximeter on replicated or single node set ups
karencfv 7eb06dd
fmt
karencfv 1abe9dd
Merge branch 'main' into ch-replicated-engine
karencfv e2a4060
Small fix after merge with main branch
karencfv 9c759e6
expectoration
karencfv bc33e97
Address comments
karencfv 1ebcf14
fmt
karencfv 23df4ef
address review comments
karencfv 80eb1d1
Merge branch 'main' into ch-replicated-engine
karencfv 2b1edd9
save config env vars to file
karencfv 5fd1e75
fix scripts and configuration for bench gimlet
karencfv 3bda6b3
Explicitly declare if a database is single node or replicated
karencfv 2492ae8
foundation to test replicated nodes
karencfv 8541d17
Testing utils
karencfv 148dda9
Test replicated nodes
karencfv cb0cd66
First try at testing
karencfv b9e64cd
Keeper doesn't like absolute paths :(
karencfv 9d8d019
Get test keepers going
karencfv 81ab2ad
Make the test work
karencfv a8a02d4
Correct way to check whether a replicated server is ready for connect…
karencfv c116370
Clean up
karencfv 28354be
Rename test config directories
karencfv 9562f0e
fmt
karencfv 9520449
fix tests
karencfv 8872b09
Refine testing
karencfv 3af0769
Revert bench gimlet configuration and fmt
karencfv f621b80
Bump clickhouse readyness testing timeout and make clippy happy
karencfv e51bd0f
Merge branch 'main' into ch-replicated-engine
karencfv 298ca4e
Give end to end tests more time to bring up nexus
karencfv 1930e14
Merge branch 'main' into ch-replicated-engine
karencfv e7a4635
Automatically detect whether ClickHouse set up is replicated or singl…
karencfv b8ccf29
Works on my machine, increase timeout
karencfv d83dc85
Merge branch 'main' into ch-replicated-engine
karencfv 691d9d5
Update CRDB with new service enums
karencfv 4a1c179
Disable replicated ClickHouse
karencfv fe124fd
Make clippy happy
karencfv 7f67c7b
Merge branch 'main' into ch-replicated-engine
karencfv 251df8a
Small fix after merge
karencfv c58c8fe
Revert e2e timeout duration
karencfv 4832dda
Address review comments
karencfv c7e3598
make the linter happy
karencfv 0adffb7
Address comments
karencfv 98c705b
Create distributed tables
karencfv 77a3492
Stop forgetting to run cargo fmt before pushing the commit
karencfv 5933f51
Also don't forget about clippy :facepalm:
karencfv 6c82c8a
Small fix to referenced macro in SQL
karencfv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
What happens if the server this client connects to has created the database on a cluster, instead of single node?
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.
hmmmm, I'll try it out and report back