Commit b88b9916 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 7e2c82e1
...@@ -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 nodes. It drives cluster through recovery -> verify -> serve // all connected peers. 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"
......
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