mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
Merge pull request #64762 from azat/mt-write-once-fixes
Do not try to write columns.txt if it does not exists for write-once storages
This commit is contained in:
commit
b6b19ca6d3
@ -229,7 +229,7 @@ bool DataPartStorageOnDiskBase::isBroken() const
|
||||
|
||||
bool DataPartStorageOnDiskBase::isReadonly() const
|
||||
{
|
||||
return volume->getDisk()->isReadOnly();
|
||||
return volume->getDisk()->isReadOnly() || volume->getDisk()->isWriteOnce();
|
||||
}
|
||||
|
||||
void DataPartStorageOnDiskBase::syncRevision(UInt64 revision) const
|
||||
|
Loading…
Reference in New Issue
Block a user