mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update DataPartStorageOnDiskFull.cpp
This commit is contained in:
parent
716d25c33f
commit
1494262a38
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user