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
d3ea97c7
Commit
d3ea97c7
authored
Feb 18, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
c825706e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
go/neo/mastered.go
go/neo/mastered.go
+3
-10
No files found.
go/neo/mastered.go
View file @
d3ea97c7
...
@@ -41,10 +41,9 @@ import (
...
@@ -41,10 +41,9 @@ import (
//
//
// It connects to master, identifies to it, and handles master messages about
// It connects to master, identifies to it, and handles master messages about
// δNodeTab, δPartTab and δClusterState to maintain local replica of cluster
// δNodeTab, δPartTab and δClusterState to maintain local replica of cluster
// state. The other messages from master are passed through to RecvM1. In other
// state. The other messages from master are passed through to _MasterLink.Recv1.
// words _MasteredNode installs a kind of reception pipeline in between master
// In other words _MasteredNode installs a kind of reception pipeline in between
// and _MasteredNode user:
// master and _MasteredNode user:
//
//
//
// δNodeTab
// δNodeTab
// δPartTab
// δPartTab
...
@@ -75,12 +74,6 @@ type _MasteredNode struct {
...
@@ -75,12 +74,6 @@ type _MasteredNode struct {
// XXX just use `.myInfo.NodeType == STORAGE` instead?
// XXX just use `.myInfo.NodeType == STORAGE` instead?
}
}
// _RxM represents a request or event received from master.
type
_RxM
struct
{
Req
neonet
.
Request
Err
error
// event*
}
type
_MasteredNodeFlags
int
type
_MasteredNodeFlags
int
const
(
const
(
// δPartTabPassThrough tells mlink.Recv1 not to filter out messages related
// δPartTabPassThrough tells mlink.Recv1 not to filter out messages related
...
...
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