MySQL 9.0.0
Source Code Documentation
|
Incomplete Chunk information. More...
#include <clone0desc.h>
Public Member Functions | |
void | init_chunk_nums () |
Initialize Chunk number ranges. More... | |
void | serialize (byte *desc_chunk, uint &len) |
Serialize the descriptor. More... | |
void | deserialize (const byte *desc_chunk, uint &len_left) |
Deserialize the descriptor. More... | |
size_t | get_serialized_length (uint32_t num_tasks) |
Get the length of serialized data. More... | |
Public Attributes | |
Chnunk_Bitmap | m_reserved_chunks |
Information about chunks completed. More... | |
Chunk_Map | m_incomplete_chunks |
Information about unfinished chunks. More... | |
uint32_t | m_total_chunks |
Chunks for current state. More... | |
uint32_t | m_min_unres_chunk |
Minimum chunk number that is not reserved yet. More... | |
uint32_t | m_max_res_chunk |
Maximum chunk number that is already reserved. More... | |
Incomplete Chunk information.
void Chunk_Info::deserialize | ( | const byte * | desc_chunk, |
uint & | len_left | ||
) |
Deserialize the descriptor.
[in] | desc_chunk | serialized chunk info |
[in,out] | len_left | length left in bytes |
size_t Chunk_Info::get_serialized_length | ( | uint32_t | num_tasks | ) |
Get the length of serialized data.
[in] | num_tasks | number of tasks to include |
|
inline |
Initialize Chunk number ranges.
void Chunk_Info::serialize | ( | byte * | desc_chunk, |
uint & | len | ||
) |
Serialize the descriptor.
Caller should pass the length if allocated.
[out] | desc_chunk | serialized chunk info |
[in,out] | len | length of serialized descriptor |
Chunk_Map Chunk_Info::m_incomplete_chunks |
Information about unfinished chunks.
uint32_t Chunk_Info::m_max_res_chunk |
Maximum chunk number that is already reserved.
uint32_t Chunk_Info::m_min_unres_chunk |
Minimum chunk number that is not reserved yet.
Chnunk_Bitmap Chunk_Info::m_reserved_chunks |
Information about chunks completed.
uint32_t Chunk_Info::m_total_chunks |
Chunks for current state.