Commit 34dc5cf5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b0f5282b
...@@ -34,7 +34,7 @@ import ( ...@@ -34,7 +34,7 @@ import (
// //
// oid -> []uuid // oid -> []uuid
// //
// mapping associating object id with list of storage nodes on where data for // mapping associating object ID with list of storage nodes on where data for
// this oid should be written-to/loaded-from. This mapping is organized as follows: // this oid should be written-to/loaded-from. This mapping is organized as follows:
// //
// Oid space is divided (partitioned) into Np parts via // Oid space is divided (partitioned) into Np parts via
......
...@@ -39,9 +39,13 @@ import ( ...@@ -39,9 +39,13 @@ import (
"lab.nexedi.com/kirr/neo/go/neo/proto" "lab.nexedi.com/kirr/neo/go/neo/proto"
) )
// NodeApp is base for implementing NEO node applications. // NodeApp provides base functionality underlying any NEO node. XXX -> NodeBase? NodeSrv? NodeInstance?
// //
// XXX -> internal? // Every node knows how to talk to master and receives master idea about:
//
// - current node table (all nodes in the cluster),
// - current partition table (how data is split around storage nodes),
// - current cluster state.
type NodeApp struct { type NodeApp struct {
MyInfo proto.NodeInfo MyInfo proto.NodeInfo
ClusterName string ClusterName string
......
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