This commit is contained in:
alesapin 2022-04-22 11:35:36 +02:00
parent cd8fa75546
commit 64383bcb0a

View File

@ -3369,7 +3369,7 @@ void MergeTreeData::swapActivePart(MergeTreeData::DataPartPtr part_copy)
original_active_part->force_keep_shared_data = false;
if (original_active_part->volume->getDisk()->supportZeroCopyReplication() &&
part_copy->volume->getDisk()->supportZeroCopyReplication() &&
part_copy->isStoredOnRemoteDiskWithZeroCopySupport() &&
original_active_part->getUniqueId() == part_copy->getUniqueId())
{
/// May be when several volumes use the same S3/HDFS storage