mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Better
This commit is contained in:
parent
cd8fa75546
commit
64383bcb0a
@ -3369,7 +3369,7 @@ void MergeTreeData::swapActivePart(MergeTreeData::DataPartPtr part_copy)
|
|||||||
original_active_part->force_keep_shared_data = false;
|
original_active_part->force_keep_shared_data = false;
|
||||||
|
|
||||||
if (original_active_part->volume->getDisk()->supportZeroCopyReplication() &&
|
if (original_active_part->volume->getDisk()->supportZeroCopyReplication() &&
|
||||||
part_copy->volume->getDisk()->supportZeroCopyReplication() &&
|
part_copy->isStoredOnRemoteDiskWithZeroCopySupport() &&
|
||||||
original_active_part->getUniqueId() == part_copy->getUniqueId())
|
original_active_part->getUniqueId() == part_copy->getUniqueId())
|
||||||
{
|
{
|
||||||
/// May be when several volumes use the same S3/HDFS storage
|
/// May be when several volumes use the same S3/HDFS storage
|
||||||
|
Loading…
Reference in New Issue
Block a user