// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include namespace zen { // state.cbo schema version. Bump on any incompatible change to the manifest layout. // Hydrate refuses to read a manifest with a higher version than this. Manifests written // by older binaries omit the field; treated as version 0 and decoded best-effort // (missing optional fields like Packs[] / StorageSettings fall back to defaults). inline constexpr uint32_t HydrationSchemaVersion = 1; // Multipart chunk size used by the S3 backend when hydrating/dehydrating large files. // Dehydrate writes the chosen size into state.cbo so hydrate replays with the same // partitioning. State records without the field fall back to this default. inline constexpr uint64_t DefaultMultipartChunkSize = 64u * 1024u * 1024u; // Files strictly smaller than this are candidates for packing. inline constexpr uint64_t DefaultPackThresholdBytes = 256u * 1024u; // Upper bound on the concatenation size of a single pack. Packs are stored raw (no compression). inline constexpr uint64_t DefaultMaxPackBytes = 4u * 1024u * 1024u; } // namespace zen