Avoid redundant exception while dropping part

This commit is contained in:
alesapin 2021-01-14 11:07:13 +03:00
parent 6d79068a0f
commit bfc27254b2

View File

@ -6175,6 +6175,11 @@ bool StorageReplicatedMergeTree::dropPart(
LOG_TRACE(log, "A new log entry appeared while trying to commit DROP RANGE. Retry.");
continue;
}
else if (rc == Coordination::Error::ZNONODE)
{
LOG_TRACE(log, "Other replica already removing same part {} or part deduplication node was removed by background thread. Retry.", part_name);
continue;
}
else
zkutil::KeeperMultiException::check(rc, ops, responses);