This structure describes one member (or node) of the cluster. More...
#include <clClmTmsCommon.h>
Public Member Functions | |
| ClGmsNodeIdT nodeId | __attribute__ ((__aligned__(8))) |
| Unique ID of node. | |
| ClIocAddressT nodeAddress | __attribute__ ((__aligned__(8))) |
| Physical IOC address of node. | |
| ClGmsNodeAddressT nodeIpAddress | __attribute__ ((__aligned__(8))) |
| Node IP Address. | |
| ClNameT nodeName | __attribute__ ((__aligned__(8))) |
| Textual name of node. | |
| ClBoolT memberActive | __attribute__ ((__aligned__(8))) |
This is TRUE if the node is a member of the cluster For tracking nodes it is not set. | |
| ClTimeT bootTimestamp | __attribute__ ((__aligned__(8))) |
| The time at which GMS was started on the node. | |
| ClUint64T initialViewNumber | __attribute__ ((__aligned__(8))) |
| The view number when the node joined. | |
| ClGmsLeadershipCredentialsT credential | __attribute__ ((__aligned__(8))) |
| This is an integer value specifying the leadership credibility of the node. | |
| ClBoolT isCurrentLeader | __attribute__ ((__aligned__(8))) |
| Indicates if this node is the current leader of the cluster or not. | |
| ClBoolT isPreferredLeader | __attribute__ ((__aligned__(8))) |
| Indicates if this node is the preferred leader for the cluster. | |
| ClBoolT leaderPreferenceSet | __attribute__ ((__aligned__(8))) |
| Indicates that the leadership preference is set through CLI and not through config file. | |
| ClVersionT gmsVersion | __attribute__ ((__aligned__(8))) |
| Version information of the GMS software running on the node, information is sent to the other peers in the cluster while joining the cluster . | |
This structure describes one member (or node) of the cluster.
| ClGmsLeadershipCredentialsT credential ClGmsClusterMemberT::__attribute__ | ( | (__aligned__(8)) | ) |
This is an integer value specifying the leadership credibility of the node.
Larger the value higher is the possibility of the node becoming a leader. Member with creditials CL_GMS_INELIGIBLE_CREDENTIALS cannot participate in the leader election
| ClBoolT leaderPreferenceSet ClGmsClusterMemberT::__attribute__ | ( | (__aligned__(8)) | ) |
Indicates that the leadership preference is set through CLI and not through config file.
This provides higher preference during leader election.
| ClVersionT gmsVersion ClGmsClusterMemberT::__attribute__ | ( | (__aligned__(8)) | ) |
Version information of the GMS software running on the node, information is sent to the other peers in the cluster while joining the cluster .
If there is a version mismatch the node is not allowed to join the Cluster