Useful comment

This commit is contained in:
alesapin 2021-04-02 20:48:58 +03:00
parent ab34873344
commit b105153d2c

View File

@ -2099,6 +2099,10 @@ bool MergeTreeData::renameTempPartAndReplace(
return false;
}
/// Deduplication log used only from non-replicated MergeTree. Replicated
/// tables have their own mechanism. We try to deduplicated at such deep
/// level, because only here we know real part name which is required for
/// deduplication.
if (deduplication_log)
{
String block_id = part->getZeroLevelPartBlockID();