mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fix style
This commit is contained in:
parent
5a3216b26f
commit
90c436f940
@ -1037,7 +1037,7 @@ MergeTreeData::MutableDataPartPtr MergeTreeDataMergerMutator::mutatePartToTempor
|
||||
need_remove_expired_values = true;
|
||||
|
||||
/// All columns from part are changed and may be some more that were missing before in part
|
||||
if (source_part->getColumns().isSubsetOf(updated_header.getNamesAndTypesList()) || isCompactPart(source_part))
|
||||
if (isCompactPart(source_part) || source_part->getColumns().isSubsetOf(updated_header.getNamesAndTypesList()))
|
||||
{
|
||||
mutateAllPartColumns(
|
||||
new_data_part,
|
||||
|
@ -768,9 +768,7 @@ BackgroundProcessingPoolTaskResult StorageMergeTree::mergeMutateTask()
|
||||
return BackgroundProcessingPoolTaskResult::ERROR;
|
||||
|
||||
if (merger_mutator.merges_blocker.isCancelled())
|
||||
{
|
||||
return BackgroundProcessingPoolTaskResult::NOTHING_TO_DO;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
@ -783,7 +781,6 @@ BackgroundProcessingPoolTaskResult StorageMergeTree::mergeMutateTask()
|
||||
clearOldPartsFromFilesystem();
|
||||
clearOldTemporaryDirectories();
|
||||
}
|
||||
|
||||
clearOldMutations();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user