tencent cloud

TDSQL Boundless

TDSTORE_REPLICATION_GROUP_EVENT_INFO

PDF
Focus Mode
Font Size
Last updated: 2026-02-10 11:06:32

Function

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_group
delete replication_group
split replication_group
merge replication_group
destroy replica

Field Description

Field 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.

Examples

tdsql>select * from TDSTORE_REPLICATION_GROUP_EVENT_INFO limit 1\\G
*************************** 1. row ***************************
node_name: node-Module13-180-5-004
job_description: merge replication group
job_id: 31736
old_rep_group_id: 2607222
rep_group_id: 8101200
ret: 0(EC_OK)
my_job_ret: 0(EC_OK)
report_mc_ret: 0(EC_OK)
extra_info: NULL
event_type: TD_EVENT_MERGE_REPLICATION_GROUP
begin_time: 2024-11-04 20:53:56 294
cost_us: 3726373
detailed_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>]

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback