Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action uint8
const ( Ping Action = iota NoAction JoinClusterRequest DecommissionNodeRequest RequestToBecomeMaster MasterRequestAccepted MasterRequestRejected GetPartitionTableRequest UpdatePartitionTableRequest ReleaseMasterRequest ForceReleaseMasterRequest CommitPartitionTableRequest //it also releases the master AbortPartitionTableChanges //used to send messages to the requestor in case the op cannot be completed NodeBackOnlineNotification //sent to notify a node that the sender is back online ClusterStatusRequest GetNodeStatsRequest StartDataStreamRequest //used during PT changes for sync SendDataStreamChunk SendDataStreamTaskCompleted SendGetSyncTasks //used to request list of sync tasks from a node RetrySyncTask Set Get Del Scan GetKeyLocation SendActionsLog //used to bring a resuscitated node up to date )
type NodeActions ¶
type NodeActions uint8
actions sent from the cluster to the current node
const ( Shutdown NodeActions = iota NewPartitionTable )
Click to show internal directories.
Click to hide internal directories.