Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
ce197699
Commit
ce197699
authored
Feb 22, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ff0549ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/neo/xneo/xneo.go
go/neo/xneo/xneo.go
+2
-2
No files found.
go/neo/xneo/xneo.go
View file @
ce197699
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment