Commit ff41fbb4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 056a86be
...@@ -40,6 +40,7 @@ func NewMaster(clusterName string) *Master { ...@@ -40,6 +40,7 @@ func NewMaster(clusterName string) *Master {
} }
// XXX NotifyNodeInformation to all nodes whenever nodetab changes
func (m *Master) SetClusterState(state ClusterState) { func (m *Master) SetClusterState(state ClusterState) {
m.clusterState = state m.clusterState = state
......
...@@ -226,7 +226,7 @@ func float64_NEODecode(b []byte) float64 { ...@@ -226,7 +226,7 @@ func float64_NEODecode(b []byte) float64 {
// XXX -> nodetab.go ? // XXX -> nodetab.go ?
type NodeInfo struct { type NodeInfo struct {
NodeType NodeType
Address Address // serving address
NodeID NodeID
NodeState NodeState
IdTimestamp float64 IdTimestamp float64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment