Update DataPartStorageOnDiskFull.cpp

This commit is contained in:
Alexander Tokmakov 2023-01-27 15:42:41 +03:00 committed by GitHub
parent 716d25c33f
commit 1494262a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ String DataPartStorageOnDiskFull::getUniqueId() const
{ {
auto disk = volume->getDisk(); auto disk = volume->getDisk();
if (!disk->supportZeroCopyReplication()) if (!disk->supportZeroCopyReplication())
throw Exception(fmt::format("Disk {} doesn't support zero-copy replication", disk->getName()), ErrorCodes::LOGICAL_ERROR); throw Exception(ErrorCodes::LOGICAL_ERROR, "Disk {} doesn't support zero-copy replication", disk->getName());
return disk->getUniqueId(fs::path(getRelativePath()) / "checksums.txt"); return disk->getUniqueId(fs::path(getRelativePath()) / "checksums.txt");
} }