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
34dc5cf5
Commit
34dc5cf5
authored
Jan 20, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b0f5282b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
go/neo/xneo/parttab.go
go/neo/xneo/parttab.go
+1
-1
go/neo/xneo/xneo.go
go/neo/xneo/xneo.go
+6
-2
No files found.
go/neo/xneo/parttab.go
View file @
34dc5cf5
...
@@ -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
...
...
go/neo/xneo/xneo.go
View file @
34dc5cf5
...
@@ -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
...
...
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