Merge pull request #54260 from ClickHouse/vdimir/enable_allow_remove_stale_moving_parts

Enable allow_remove_stale_moving_parts by default
This commit is contained in:
Alexey Milovidov 2023-09-05 01:11:22 +03:00 committed by GitHub
commit 1a458d524e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8604,7 +8604,7 @@ std::pair<MergeTreeData::MutableDataPartPtr, scope_guard> MergeTreeData::createE
bool MergeTreeData::allowRemoveStaleMovingParts() const
{
return ConfigHelper::getBool(getContext()->getConfigRef(), "allow_remove_stale_moving_parts");
return ConfigHelper::getBool(getContext()->getConfigRef(), "allow_remove_stale_moving_parts", /* default_ = */ true);
}
CurrentlySubmergingEmergingTagger::~CurrentlySubmergingEmergingTagger()