# Functions
NewCNState creates a new CNState.
NewLogState creates a new LogState.
NewProxyState creates a new ProxyState.
NewRSMState creates a new HAKeeperRSMState instance.
NewTNState creates a new DNState.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HeaderSize is the size of the header for each logservice and hakeeper command.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NoLeader is the replica ID of the leader node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
BackupData is the information that needs to backup, including NextID and NextIDByKey in HAKeeperRSMState.
CheckerState contains all HAKeeper state required for making schedule commands.
No description provided by the author
ClusterInfo provides a global view of all shards in the cluster.
CNAllocateID is the periodic message sent tp the HAKeeper by CN stores.
CNState contains all CN details known to the HAKeeper.
No description provided by the author
No description provided by the author
CNStoreHeartbeat is the periodic message sent tp the HAKeeper by CN stores.
CNStoreInfo contains information on a CN store.
No description provided by the author
No description provided by the author
No description provided by the author
ConfigChange is the detail of a config change.
ConfigData is the content of config on cn,tn,log and proxy.
No description provided by the author
CreateTaskService start task service at current node.
DeleteCNStore deletes CN store from CNState to save hakeeper's memory.
No description provided by the author
DeleteProxyStore deletes Proxy store from ProxyState to save hakeeper's memory.
HAKeeperRSMState contains state maintained by HAKeeper's RSM.
No description provided by the author
No description provided by the author
LogRecord is what we store into the LogService.
No description provided by the author
LogReplicaInfo contains information of a log replica.
No description provided by the author
No description provided by the author
LogShardInfo contains information a log shard.
No description provided by the author
No description provided by the author
LogStoreHeartbeat is the periodic message sent to the HAKeeper by Log Stores.
LogStoreInfo contains information of all replicas found on a Log store.
No description provided by the author
No description provided by the author
No description provided by the author
Replica of the shard.
ReplicaInfo contains details of a replica.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ScheduleCommand contains a shard schedule command.
ShardInfoQueryResult contains the result of the shard info query.
ShutdownStore would stop store.
No description provided by the author
TNShardInfo contains information of a launched TN shard.
TNState contains all TN details known to the HAKeeper.
No description provided by the author
TNStoreHeartbeat is the periodic message sent to the HAKeeper by TN stores.
TNStoreInfo contains information on a TN store.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
ConfigChangeType indicates config change command type.
HAKeeperState state transition diagram
HAKeeperCreated │ │ cluster init info set ▼ HAKeeperBootstrapping │ │ init schedule commands received ▼ HAKeeperBootstrapCommandsReceived │ │ ┌───────────┴───────────┐ │ time out │ bootstrap successfully ▼ ▼
HAKeeperBootstrapFailed HAKeeperRunning.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServiceType specifies type of service.
TaskSchedulerState state transition diagram
TaskSchedulerCreated │ │ setTaskTableUser() ▼ TaskSchedulerStarted │ ▲ │ │ ▼ │ TaskSchedulerStopped.
No description provided by the author