Fix zero copy bug with encrypted disk and UNFREEZE

When running UNFREEZE with encrypted disk, zookeeper
metadata would be erroneously removed here
src/Storages/StorageReplicatedMergeTree.cpp#L10418.
This commit is contained in:
joelynch 2024-08-23 16:36:27 +02:00
parent 9d75415090
commit 1c6976d7a5
No known key found for this signature in database

View File

@ -350,6 +350,11 @@ public:
return delegate;
}
UInt32 getRefCount(const String & path) const override {
auto wrapped_path = wrappedPath(path);
return delegate->getRefCount(wrapped_path);
}
#if USE_AWS_S3
std::shared_ptr<const S3::Client> getS3StorageClient() const override
{