Get desktop application:
View/edit binary Protocol Buffers messages
CancelTaskRequest closes the execution of a task.
Used as request type in: tikvpb.Tikv.CancelMPPTask
Used as response type in: tikvpb.Tikv.CancelMPPTask
Dipsatch the task request to different tiflash servers.
Used as request type in: tikvpb.Tikv.DispatchMPPTask
If this task contains table scan, we still need their region info.
Used for partition table scan
Get response of DispatchTaskRequest.
Used as response type in: tikvpb.Tikv.DispatchMPPTask
Used in:
, , , , ,build connection between different tasks. Data is sent by the tasks that are closer to the data sources.
Used as request type in: tikvpb.Tikv.EstablishMPPConnection
node closer to the source
node closer to the tidb mpp gather.
Used as request type in: tikvpb.Tikv.IsAlive
(message has no fields)
Used as response type in: tikvpb.Tikv.IsAlive
when TiFlash sends data to TiDB, Data packets wrap tipb.SelectResponse, i.e., serialize tipb.SelectResponse into data; when TiFlash sends data to TiFlash, data blocks are serialized into chunks, and the execution_summaries in tipb.SelectResponse are serialized into data only for the last packet.
Used as response type in: tikvpb.Tikv.EstablishMPPConnection
version of data packet format
ReportTaskStatus reports the execution status of a task. when TiFlash reports status to TiDB, ReportTaskStatusRequest serialize tipb.TiFlashExecutionInfo into data;
Used as request type in: tikvpb.Tikv.ReportMPPTaskStatus
Used as response type in: tikvpb.Tikv.ReportMPPTaskStatus
TaskMeta contains meta of a mpp plan, including query's ts and task address.
Used in:
, , ,start ts of a query
if task id is -1 , it indicates a tidb task.
Only used for hash partition
target address of this task.
used to distinguish different gathers in the mpp query.
timestamp when start to execute query, used for TiFlash miniTSO schedule.
unique local query_id if tidb don't restart. So we can use gather_id + query_ts + local_query_id + server_id to represent a global unique query.
TiDB server id
mpp version
keyspace id of the request
coordinator_address of this query
Only when coordinator_address is not empty, this flag can be true. When set to true, TiFlash only report execution summary through ReportMPPTaskStatus service, don't include summaries in MppDataPacket
API version of the request
This is the session id between a client and tidb
This is the session alias between a client and tidb