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:
Alexander Tokmakov 2022-11-17 16:11:02 +03:00 committed by GitHub
commit 5d959ab6a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,8 @@ struct DetachedPartInfo : public MergeTreePartInfo
"deleting",
"tmp-fetch",
"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>({
@ -163,7 +165,9 @@ struct DetachedPartInfo : public MergeTreePartInfo
"ignored",
"broken-on-start",
"deleting",
"clone"
"clone",
"merge-not-byte-identical",
"mutate-not-byte-identical"
});
/// NOTE: It may parse part info incorrectly.