tencent cloud

TDSQL Boundless

META_CLUSTER_JOBS

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

Function

task scheduling records of MC.

Field Description

Field Name
Type
Description
rep_group_id
bigint unsigned
RepGroup ID.
rep_group_job_id
bigint unsigned
Job ID.
rep_group_job_type
varchar(64)
Job Type.
rep_group_job_meta
json
Job metadata.
rep_group_job_state
bigint
Status of job execution.
create_time
datetime
Create Job time.
finish_time
datetime
Time of job completion.
job_raft_log_index
bigint
position of the raft log after Job execution completes.
job_vanished_rg_raft_log_index
bigint
position of the raft log of the vanished RG after Job execution ends (only valid for merge RG tasks).
job_commit_ts
varchar(64)
timestamp of job submission.
job_msg
text
Job information.
job_desc
text
details of job execution.
task_id
bigint unsigned
ID of the Task that initiated the Job.
task_type
varchar(64)
Type of the Task that initiated the Job.
cause_type
varchar(64)
Type of trigger reason for scheduled Jobs.
schedule_rule
text
Specific description of scheduled tasks, such as MigRule in migration tasks.

Examples

tdsql3_sys_local@localhost [sys]> select * from meta_cluster_jobs limit 1\\G
*************************** 1. row ***************************
rep_group_id: 1792
rep_group_job_id: 8
rep_group_job_type: RG_JOB_TYPE_CREATE_RG
rep_group_job_meta: {"rep_group_id": 1792, "rep_group_job_id": 8, "rep_group_job_type": 1, "ReplicationGroupJobInfo": {"CreateRepGroup": {"new_rep_group_meta": {"quorum": 1, "learners": ["node-***-1-003", "node-***-1-002"], "node_name": "node-***-1-001", "create_time": 1732778760675987857, "member_role": 3, "member_uuids": {"node-***-1-001": 0, "node-***-1-002": 0, "node-***-1-003": 0}, "rep_group_id": 1792, "learner_quorum": 2, "data_space_type": 1, "rep_group_labels": {"no-auto-merge": "1", "no-auto-split": "1", "no-auto-migrate": "1"}, "member_node_names": ["node-***-1-001", "node-***-1-003", "node-***-1-002"]}}}}
rep_group_job_state: Created
create_time: 2024-11-28 15:25:59
finish_time: 2024-11-28 15:25:59
job_raft_log_index: 0
job_vanished_rg_raft_log_index: 0
job_commit_ts: 29071203519955022
job_msg:
job_desc: {"mc_host":"mc-***-1-1","reason":"","reported_by":"","job_detail":{"causeType":22}}
task_id: 0
task_type: TASK_TYPE_UNKNOWN
cause_type: CAUSE_MC_INTERNAL_TRIGGER
schedule_rule: ""
1 row in set (0.02 sec)

Help and Support

Was this page helpful?

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

Feedback