tencent cloud

TDSQL Boundless

META_CLUSTER_LEADER_HISTORY

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 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)

Ajuda e Suporte

Esta página foi útil?

comentários