Leader for a service of the group
Each cluster node entity provides multiple services. When working in a group, each service can elect a cluster node entity to be the leader of the service. Leader election helps in coordination of the service. The leader holds a renewable lease on the leadership for a fixed period of time. The lease version is incremented every time the leadership lease is renewed. This type contains the attributes of a leader.
Name | Description | Type | Notes |
---|---|---|---|
leader_uuid | Member UUID of the leader | string | Readonly |
lease_version | Number of times the lease has been renewed | integer | Readonly |
service_name | Name of the service | string | Readonly |