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
1
Merge Requests
1
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
ff41fbb4
Commit
ff41fbb4
authored
7 years ago
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
056a86be
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
go/neo/master.go
go/neo/master.go
+1
-0
go/neo/proto.go
go/neo/proto.go
+1
-1
No files found.
go/neo/master.go
View file @
ff41fbb4
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
go/neo/proto.go
View file @
ff41fbb4
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
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