Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
INFORMATION_SCHEMA.TDSTORE_REPLICATION_GROUP_EVENT_INFO is used to query the execution status of replication_group-related tasks at the TDStore layer, including:create replication_groupdelete replication_groupsplit replication_groupmerge replication_groupdestroy replicaField Name | Type | Description |
node_name | varchar(64) | Node name. |
job_description | text | Task description. |
job_id | bigint unsigned | Task ID. |
old_rep_group_id | bigint unsigned | ID of the original replication_group. |
rep_group_id | bigint unsigned | create replication_group indicates the ID of the newly created replication_group in this scenario.In the split replication_group scenario, it indicates the ID of the split-generated replication_group.In the merge replication_group scenario, it indicates the ID of the merged replication_group. |
ret | varchar(64) | return value of the function. |
my_job_ret | varchar(64) | return value of the task |
report_mc_ret | varchar(64) | return value reported to mc. |
extra_info | text | Additional information for certain tasks. Currently, only destroy replication_group is supported, which will list the reasons. |
event_type | varchar(64) | Task type. |
begin_time | varchar(64) | Start time of the task. |
cost_us | bigint unsigned | Duration of the task, in microseconds. |
detailed_info | text | Time consumption for each step of tasks and subtasks. |
tdsql>select * from TDSTORE_REPLICATION_GROUP_EVENT_INFO limit 1\\G*************************** 1. row ***************************node_name: node-Module13-180-5-004job_description: merge replication groupjob_id: 31736old_rep_group_id: 2607222rep_group_id: 8101200ret: 0(EC_OK)my_job_ret: 0(EC_OK)report_mc_ret: 0(EC_OK)extra_info: NULLevent_type: TD_EVENT_MERGE_REPLICATION_GROUPbegin_time: 2024-11-04 20:53:56 294cost_us: 3726373detailed_info: [MERGE_REPLICATION_GROUP: <BEGIN: 4120us>, <WAIT_ALL_TXNS: 3us>, <WAIT_MERGE_LOG_APPLIED: 967033us>, <FORCE_INSTALL_SNAPSHOT_FOR_VANISHED_RG: 2213872us>, <MERGE_LEASE: 0us>, <MERGE_WRITE_FENCE: 516515us>, <REPORT_TO_MC: 21880us>, <COMMIT: 2896us>, <END: 54us>]
피드백