Commit 7864d9cb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8e974dd9
......@@ -379,7 +379,7 @@ type NodeInfo struct {
Addr Address // serving address
NID NodeID
State NodeState
IdTime IdTime // XXX clarify semantic where it is used
IdTime IdTime // when this node last identified to master
}
//neo:proto typeonly
......@@ -411,7 +411,7 @@ type Error struct {
//
//neo:nodes * -> *
type RequestIdentification struct {
NodeType NodeType // XXX name
NodeType NodeType // XXX name (-> Type)
NID NodeID
Address Address // where requesting node is also accepting connections
ClusterName string
......@@ -423,7 +423,7 @@ type RequestIdentification struct {
//neo:proto answer
type AcceptIdentification struct {
NodeType NodeType // XXX name
NodeType NodeType // XXX name (-> MyType)
MyNID NodeID
YourNID NodeID
}
......
......@@ -39,7 +39,7 @@ import (
//
// It is
//
// NID -> *Node
// NID -> *Node ; = (.laddr, .state, ...) + .link
//
// mapping listing known nodes and associating their node ID with information
// about a node.
......
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