Commit ad485db2 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5062ea67
...@@ -335,7 +335,7 @@ type NodeInfo struct { ...@@ -335,7 +335,7 @@ type NodeInfo struct {
Addr Address // serving address Addr Address // serving address
UUID NodeUUID UUID NodeUUID
State NodeState State NodeState
IdTime IdTime // FIXME clarify semantic where it is used IdTime IdTime // XXX clarify semantic where it is used
} }
//neo:proto typeonly //neo:proto typeonly
...@@ -409,7 +409,7 @@ type NotPrimaryMaster struct { ...@@ -409,7 +409,7 @@ type NotPrimaryMaster struct {
// Notify information about one or more nodes. PM -> Any. // Notify information about one or more nodes. PM -> Any.
type NotifyNodeInformation struct { type NotifyNodeInformation struct {
// XXX in py this is monotonic_time() of call to broadcastNodesInformation() & friends // NOTE in py this is monotonic_time() of call to broadcastNodesInformation() & friends
IdTime IdTime IdTime IdTime
NodeList []NodeInfo NodeList []NodeInfo
} }
...@@ -530,7 +530,7 @@ type FailedVote struct { ...@@ -530,7 +530,7 @@ type FailedVote struct {
Tid zodb.Tid Tid zodb.Tid
NodeList []NodeUUID NodeList []NodeUUID
// XXX _answer = Error // answer = Error
} }
// Finish a transaction. C -> PM. // Finish a transaction. C -> PM.
...@@ -755,28 +755,28 @@ type SetNodeState struct { ...@@ -755,28 +755,28 @@ type SetNodeState struct {
NodeUUID NodeUUID
NodeState NodeState
// XXX _answer = Error // answer = Error
} }
// Ask the primary to include some pending node in the partition table // Ask the primary to include some pending node in the partition table
type AddPendingNodes struct { type AddPendingNodes struct {
NodeList []NodeUUID NodeList []NodeUUID
// XXX _answer = Error // answer = Error
} }
// Ask the primary to optimize the partition table. A -> PM. // Ask the primary to optimize the partition table. A -> PM.
type TweakPartitionTable struct { type TweakPartitionTable struct {
NodeList []NodeUUID NodeList []NodeUUID
// XXX _answer = Error // answer = Error
} }
// Set the cluster state // Set the cluster state
type SetClusterState struct { type SetClusterState struct {
State ClusterState State ClusterState
// XXX _answer = Error // answer = Error
} }
//neo:proto typeonly //neo:proto typeonly
...@@ -784,7 +784,7 @@ type repairFlags struct { ...@@ -784,7 +784,7 @@ type repairFlags struct {
DryRun bool DryRun bool
// pruneOrphan bool // pruneOrphan bool
// XXX _answer = Error // answer = Error
} }
// Ask storage nodes to repair their databases. ctl -> A -> M // Ask storage nodes to repair their databases. ctl -> A -> M
...@@ -879,7 +879,7 @@ type CheckReplicas struct { ...@@ -879,7 +879,7 @@ type CheckReplicas struct {
MinTID zodb.Tid MinTID zodb.Tid
MaxTID zodb.Tid MaxTID zodb.Tid
// XXX _answer = Error // answer = Error
} }
// M -> S // M -> S
...@@ -1072,7 +1072,7 @@ type AddObject struct { ...@@ -1072,7 +1072,7 @@ type AddObject struct {
type Truncate struct { type Truncate struct {
Tid zodb.Tid Tid zodb.Tid
// XXX _answer = Error // answer = Error
} }
// ---- runtime support for protogen and custom codecs ---- // ---- runtime support for protogen and custom codecs ----
......
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