Skip to content

SHOW META LEADER

The SHOW META LEADER statement shows the information of the leader in the current Meta cluster.

For more information about the Meta service, see Meta service.

Syntax

SHOW META LEADER;

Example

nebula> SHOW META LEADER;
+------------------+---------------------------+
| Meta Leader      | secs from last heart beat |
+------------------+---------------------------+
| "127.0.0.1:9559" | 3                         |
+------------------+---------------------------+
Parameter Description
Meta Leader Shows the information of the leader in the Meta cluster, including the IP address and port of the server where the leader is located.
secs from last heart beat Indicates the time interval since the last heartbeat. This parameter is measured in seconds.

Last update: February 19, 2024