Add ability to turn off flush of Distributed on DETACH/DROP/server shutdown#53501
Merged
tavplubix merged 1 commit intoClickHouse:masterfrom Aug 17, 2023
Merged
Add ability to turn off flush of Distributed on DETACH/DROP/server shutdown#53501tavplubix merged 1 commit intoClickHouse:masterfrom
tavplubix merged 1 commit intoClickHouse:masterfrom
Conversation
…utdown Sometimes you can have tons of data there, i.e. few TiBs, and sending them on server shutdown does not looks sane (maybe there is a bug and you need to update/restart to fix flushing). Signed-off-by: Azat Khuzhin <[email protected]>
Contributor
|
This is an automated comment for commit 17ca266 with description of existing statuses. It's updated for the latest CI running
|
tavplubix
approved these changes
Aug 17, 2023
Member
|
Upgrade check (msan) - #51586 |
tavplubix
reviewed
Aug 17, 2023
| M(UInt64, monitor_split_batch_on_failure, 0, "Default - distributed_directory_monitor_split_batch_on_failure", 0) \ | ||
| M(Milliseconds, monitor_sleep_time_ms, 0, "Default - distributed_directory_monitor_sleep_time_ms", 0) \ | ||
| M(Milliseconds, monitor_max_sleep_time_ms, 0, "Default - distributed_directory_monitor_max_sleep_time_ms", 0) \ | ||
| M(Bool, flush_on_detach, true, "Flush data to remote nodes on DETACH/DROP/server shutdown", 0) \ |
Member
There was a problem hiding this comment.
Is it possible to override these settings in the config? Like in <merge_tree> section for *MergeTree settings
Member
Author
There was a problem hiding this comment.
No, it is supported only for merge_tree now.
Member
Author
There was a problem hiding this comment.
This was referenced Aug 25, 2023
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add ability to turn off flush of Distributed tables on
DETACH/DROP/server shutdown (flush_on_detachsetting forDistributed)Sometimes you can have tons of data there, i.e. few TiBs, and sending them on server shutdown does not looks sane (maybe there is a bug and you need to update/restart to fix flushing).
Refs: #53408 (cc @tavplubix )