actions

package
v0.0.0-...-46d7ffa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL