Commit ce197699 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ff0549ad
...@@ -23,7 +23,7 @@ package xneo ...@@ -23,7 +23,7 @@ package xneo
//go:generate gotrace gen . //go:generate gotrace gen .
import ( import (
"sync" // "sync"
"lab.nexedi.com/kirr/go123/xnet" "lab.nexedi.com/kirr/go123/xnet"
"lab.nexedi.com/kirr/neo/go/neo/proto" "lab.nexedi.com/kirr/neo/go/neo/proto"
...@@ -82,7 +82,7 @@ type Node struct { ...@@ -82,7 +82,7 @@ type Node struct {
MasterAddr string // address of current master TODO -> masterRegistry MasterAddr string // address of current master TODO -> masterRegistry
// XXX reconsider not using State and have just .NodeTab, .PartTab, .ClusterState // XXX reconsider not using State and have just .NodeTab, .PartTab, .ClusterState
StateMu sync.RWMutex // <- XXX unexport ? XXX not used -> move to MasteredNode ? // StateMu sync.RWMutex // <- XXX unexport ? XXX not used -> move to MasteredNode ?
State ClusterState // nodeTab/partTab/stateCode XXX unexport? State ClusterState // nodeTab/partTab/stateCode XXX unexport?
// NodeTab *NodeTable // information about nodes in the cluster // NodeTab *NodeTable // information about nodes in the cluster
// PartTab *PartitionTable // information about data distribution in the cluster // PartTab *PartitionTable // information about data distribution in the cluster
......
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