tencent cloud

TDSQL Boundless

META_CLUSTER_LEADER_HISTORY

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-02-10 11:06:29

Function

META_CLUSTER_LEADER_HISTORY displays switch records of the MC Leader.

Field Description

Field Name
Type
Description
mc_node_id
bigint unsigned
ID of the MC node.
mc_node_name
varchar(64)
name of the MC node.
peer_urls
varchar(320)
communication address of the Raft member.
client_urls
varchar(320)
communication address of the client.
transfer_time
varchar(64)
Time of the leader switch.
election_term
bigint unsigned
Number of the leader election term.

Examples

tdsql>select * from INFORMATION_SCHEMA.META_CLUSTER_LEADER_HISTORY Limit 1\\G
*************************** 1. row ***************************
mc_node_id: 9245207174208224599
mc_node_name: mc-Module3-919-0
peer_urls: [http://10.10.10.10:11002]
client_urls: [http://10.10.10.10:11001]
transfer_time: 2024-08-19 11:16:54.507003
election_term: 2
1 row in set (0.01 sec)

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백