mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Update src/Disks/ObjectStorages/MetadataStorageFromPlainRewritableObjectStorage.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
parent
912bddf86f
commit
727f5ed108
@ -29,7 +29,7 @@ constexpr auto PREFIX_PATH_FILE_NAME = "prefix.path";
|
|||||||
constexpr auto METADATA_PATH_TOKEN = "__meta/";
|
constexpr auto METADATA_PATH_TOKEN = "__meta/";
|
||||||
|
|
||||||
/// Use a separate layout for metadata iff:
|
/// Use a separate layout for metadata iff:
|
||||||
/// 1. The disk endpoint does not contain objects, OR
|
/// 1. The disk endpoint does not contain any objects yet (empty), OR
|
||||||
/// 2. The metadata is already stored behind a separate endpoint.
|
/// 2. The metadata is already stored behind a separate endpoint.
|
||||||
/// Otherwise, store metadata along with regular data for backward compatibility.
|
/// Otherwise, store metadata along with regular data for backward compatibility.
|
||||||
std::string getMetadataKeyPrefix(ObjectStoragePtr object_storage)
|
std::string getMetadataKeyPrefix(ObjectStoragePtr object_storage)
|
||||||
|
Loading…
Reference in New Issue
Block a user