MySQL 26.7.0
Source Code Documentation
clone_descriptor_format.h File Reference

Shared serialized clone descriptor layout constants. More...

#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  clone_desc_format
 

Variables

constexpr std::uint32_t clone_desc_format::CLONE_DESC_MAX_VERSION = 100
 Highest serialized descriptor version supported by this format. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_VER_OFFSET = 0
 Descriptor version field offset in the serialized header. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_LEN_OFFSET
 Descriptor length field offset in the serialized header. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_TYPE_OFFSET
 Descriptor type field offset in the serialized header. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_HEADER_LEN
 Serialized descriptor header length in bytes. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_METADATA_TYPE = 4
 Serialized type value for file metadata descriptors. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_TASK_INDEX_OFFSET = CLONE_DESC_HEADER_LEN
 Task metadata task index field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_TASK_CHUNK_OFFSET
 Task metadata chunk number field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_TASK_BLOCK_OFFSET
 Task metadata block number field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_TASK_META_LEN
 Serialized task metadata descriptor length in bytes. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_LOC_CID_OFFSET = CLONE_DESC_HEADER_LEN
 Locator descriptor clone id field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_LOC_SID_OFFSET = CLONE_LOC_CID_OFFSET + 8
 Locator descriptor snapshot id field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_LOC_IDX_OFFSET = CLONE_LOC_SID_OFFSET + 8
 Locator descriptor clone array index field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_LOC_STATE_OFFSET
 Locator descriptor snapshot state field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_LOC_META_OFFSET
 Locator descriptor snapshot sub-state field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_LOC_BASE_LEN
 Serialized locator descriptor base length in bytes. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_STATE_OFFSET = CLONE_DESC_HEADER_LEN
 File metadata state field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_SIZE_OFFSET
 File metadata file size field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_ALLOC_SIZE_OFFSET
 File metadata allocated size field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_FSP_OFFSET
 File metadata FSP flags field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_FSBLK_OFFSET
 File metadata filesystem block size field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_FLAGS_OFFSET
 File metadata flags field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_FLAG_ZLIB = 1
 File metadata zlib compression flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_FLAG_LZ4 = 2
 File metadata LZ4 compression flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_FLAG_AES = 3
 File metadata encryption flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_FLAG_RENAMED = 4
 File metadata renamed flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_FLAG_DELETED = 5
 File metadata deleted flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_FILE_HAS_KEY = 6
 File metadata key-presence flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_SPACE_ID_OFFSET
 File metadata tablespace id field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_IDX_OFFSET
 File metadata file index field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_BCHUNK_OFFSET
 File metadata begin chunk field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_ECHUNK_OFFSET
 File metadata end chunk field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_FNAMEL_OFFSET
 File metadata file name length field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_FNAME_OFFSET
 File metadata file name field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_FILE_BASE_LEN = CLONE_FILE_FNAME_OFFSET
 Serialized file metadata descriptor base length in bytes. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_OFFSET = CLONE_DESC_HEADER_LEN
 State descriptor clone state field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_TASK_OFFSET
 State descriptor task index field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_NUM_CHUNKS
 State descriptor chunk count field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_NUM_FILES
 State descriptor file count field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_EST_BYTES
 State descriptor estimated byte count field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_EST_DISK
 State descriptor estimated disk usage field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_FLAGS
 State descriptor flags field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_LEN
 Serialized state descriptor length in bytes. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_FLAG_START = 1
 State descriptor start flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_STATE_FLAG_ACK = 2
 State descriptor acknowledgement flag bit. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_STATE_OFFSET = CLONE_DESC_HEADER_LEN
 Data descriptor state field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_TASK_INDEX_OFFSET
 Data descriptor task index field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_TASK_CHUNK_OFFSET
 Data descriptor chunk number field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_TASK_BLOCK_OFFSET
 Data descriptor block number field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_FILE_IDX_OFFSET
 Data descriptor file index field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_LEN_OFFSET
 Data descriptor data length field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_FOFF_OFFSET
 Data descriptor file offset field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DATA_FILE_SIZE_OFFSET
 Data descriptor file size field offset. More...
 
constexpr std::uint32_t clone_desc_format::CLONE_DESC_DATA_LEN
 Serialized data descriptor length in bytes. More...
 

Detailed Description

Shared serialized clone descriptor layout constants.