mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
fixed enum comments
This commit is contained in:
parent
35c1648c75
commit
fe0e8a3c5b
2 changed files with 4 additions and 1 deletions
|
|
@ -92,6 +92,7 @@ func (n *nopBroadcastReceiver) Start(b BroadcastHandler) error { return nil }
|
|||
// NopBroadcastReceiver is a no op implementation of the BroadcastReceiver
|
||||
var NopBroadcastReceiver = &nopBroadcastReceiver{}
|
||||
|
||||
// Broadcast message types
|
||||
const (
|
||||
MessageTypeCreateSlice = 1
|
||||
MessageTypeCreateIndex = 2
|
||||
|
|
|
|||
|
|
@ -13,8 +13,10 @@ const (
|
|||
|
||||
// DefaultReplicaN is the default number of replicas per partition.
|
||||
DefaultReplicaN = 1
|
||||
)
|
||||
|
||||
// NodeState represents node state returned in /status endpoint for a node in the cluster.
|
||||
// NodeState represents node state returned in /status endpoint for a node in the cluster.
|
||||
const (
|
||||
NodeStateUp = "UP"
|
||||
NodeStateDown = "DOWN"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue