Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
b88b9916
Commit
b88b9916
authored
Feb 19, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
7e2c82e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
go/neo/master.go
go/neo/master.go
+7
-2
No files found.
go/neo/master.go
View file @
b88b9916
...
@@ -25,7 +25,7 @@ package neo
...
@@ -25,7 +25,7 @@ package neo
// Master is the node that oversees and manages how whole NEO cluster works.
// Master is the node that oversees and manages how whole NEO cluster works.
// It accepts incoming connections, assigns node ID to incoming peers,
// It accepts incoming connections, assigns node ID to incoming peers,
// maintains node and partition tables and broadcasts updates of those tables to
// maintains node and partition tables and broadcasts updates of those tables to
// all connected
node
s. It drives cluster through recovery -> verify -> serve
// all connected
peer
s. It drives cluster through recovery -> verify -> serve
// cycle. It also manages commits initiated by clients and notifies clients
// cycle. It also manages commits initiated by clients and notifies clients
// about changes committed by another client (TODO).
// about changes committed by another client (TODO).
//
//
...
@@ -39,8 +39,13 @@ package neo
...
@@ -39,8 +39,13 @@ package neo
// via nodeComeq.
// via nodeComeq.
//
//
// - per peer workers are spawned and interact with main via channels.
// - per peer workers are spawned and interact with main via channels.
// A worker might belong to a particular cluster state - e.g. storCtlRecovery
// for recovery. In such cases worker lifetime is inside the lifetime of
// corresponding cluster state. If a worker does not belong to a particular
// cluster state - e.g. accept+notify - it overlives the state in which the
// worker was started.
//
//
// - δnodeTab, δpartTab updates are proxied to peer by
another
per-peer "notify" task.
// - δnodeTab, δpartTab updates are proxied to peer by per-peer "notify" task.
import
(
import
(
"context"
"context"
...
...
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