-
Notifications
You must be signed in to change notification settings - Fork 67
[reconfigurator] Reject clickhouse configurations from old generations #7347
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
Merged
Merged
Changes from 41 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
8138c4c
generate replica files with generation number
karencfv 50ab66c
generation number for keepers
karencfv 2b3f10f
parse gen number from file
karencfv dd0a9b1
add some tests
karencfv 96ac8cf
Extract server context for single node
karencfv 948fc93
check incoming generation number is larger
karencfv 2937b66
return init context error
karencfv 30155e0
server context refactor
karencfv 608b911
small refactor in SMF services structure
karencfv 0cd9654
save generation to cache
karencfv be1afc7
use tokio mutex
karencfv 6a500e6
clean up
karencfv 779a549
remove tokio mutex
karencfv eb69ee5
change error messages
karencfv df4ba8d
hold the lock
karencfv c36522e
poc for long running task
karencfv e961a60
Use tokio task for generation
karencfv d279711
fmt
karencfv ef04ac7
use task for generating config
karencfv 7d335b6
add init_db to task
karencfv b6e63fa
clean up
karencfv d067a71
same functionality for single node
karencfv 861875d
remove handles
karencfv a75ebb9
use flume channel
karencfv def40c2
clean up
karencfv 810e88b
extract methods into functions
karencfv c59d90f
slim down the implementation
karencfv cb21b84
add logging
karencfv cbff5cd
Begin expanding funciton parameters instead of taking a function
karencfv 33ab408
initialise oximteter client differently
karencfv b8954ab
watcher for generation
karencfv cde78c3
same for keeper
karencfv 089a2a4
Clean up
karencfv 56b1fcc
Separate tasks
karencfv 169a923
fmt
karencfv ca6b4c3
use try_send
karencfv f30ed7d
clean up
karencfv cc0f280
restructure watch channel
karencfv f5f78d4
unify long running task
karencfv ec8c12b
implement keeper
karencfv 5057b8e
clean up
karencfv 81b564c
clean up generation
karencfv 9875341
error handling and clean up
karencfv 7a974a7
fix tests
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
This is part of the refactoring, the logs were a bit of a mess.