mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
Merge pull request #43287 from filimonov/patch-7
Allow autoremoval of old parts if detach_not_byte_identical_parts enabled
This commit is contained in:
commit
5d959ab6a0
@ -154,6 +154,8 @@ struct DetachedPartInfo : public MergeTreePartInfo
|
|||||||
"deleting",
|
"deleting",
|
||||||
"tmp-fetch",
|
"tmp-fetch",
|
||||||
"covered-by-broken",
|
"covered-by-broken",
|
||||||
|
"merge-not-byte-identical",
|
||||||
|
"mutate-not-byte-identical"
|
||||||
});
|
});
|
||||||
|
|
||||||
static constexpr auto DETACHED_REASONS_REMOVABLE_BY_TIMEOUT = std::to_array<std::string_view>({
|
static constexpr auto DETACHED_REASONS_REMOVABLE_BY_TIMEOUT = std::to_array<std::string_view>({
|
||||||
@ -163,7 +165,9 @@ struct DetachedPartInfo : public MergeTreePartInfo
|
|||||||
"ignored",
|
"ignored",
|
||||||
"broken-on-start",
|
"broken-on-start",
|
||||||
"deleting",
|
"deleting",
|
||||||
"clone"
|
"clone",
|
||||||
|
"merge-not-byte-identical",
|
||||||
|
"mutate-not-byte-identical"
|
||||||
});
|
});
|
||||||
|
|
||||||
/// NOTE: It may parse part info incorrectly.
|
/// NOTE: It may parse part info incorrectly.
|
||||||
|
Loading…
Reference in New Issue
Block a user