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
ad485db2
Commit
ad485db2
authored
Jul 05, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5062ea67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
go/neo/proto/proto.go
go/neo/proto/proto.go
+10
-10
No files found.
go/neo/proto/proto.go
View file @
ad485db2
...
...
@@ -335,7 +335,7 @@ type NodeInfo struct {
Addr
Address
// serving address
UUID
NodeUUID
State
NodeState
IdTime
IdTime
//
FIXME
clarify semantic where it is used
IdTime
IdTime
//
XXX
clarify semantic where it is used
}
//neo:proto typeonly
...
...
@@ -409,7 +409,7 @@ type NotPrimaryMaster struct {
// Notify information about one or more nodes. PM -> Any.
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
NodeList
[]
NodeInfo
}
...
...
@@ -530,7 +530,7 @@ type FailedVote struct {
Tid
zodb
.
Tid
NodeList
[]
NodeUUID
//
XXX _
answer = Error
// answer = Error
}
// Finish a transaction. C -> PM.
...
...
@@ -755,28 +755,28 @@ type SetNodeState struct {
NodeUUID
NodeState
//
XXX _
answer = Error
// answer = Error
}
// Ask the primary to include some pending node in the partition table
type
AddPendingNodes
struct
{
NodeList
[]
NodeUUID
//
XXX _
answer = Error
// answer = Error
}
// Ask the primary to optimize the partition table. A -> PM.
type
TweakPartitionTable
struct
{
NodeList
[]
NodeUUID
//
XXX _
answer = Error
// answer = Error
}
// Set the cluster state
type
SetClusterState
struct
{
State
ClusterState
//
XXX _
answer = Error
// answer = Error
}
//neo:proto typeonly
...
...
@@ -784,7 +784,7 @@ type repairFlags struct {
DryRun
bool
// pruneOrphan bool
//
XXX _
answer = Error
// answer = Error
}
// Ask storage nodes to repair their databases. ctl -> A -> M
...
...
@@ -879,7 +879,7 @@ type CheckReplicas struct {
MinTID
zodb
.
Tid
MaxTID
zodb
.
Tid
//
XXX _
answer = Error
// answer = Error
}
// M -> S
...
...
@@ -1072,7 +1072,7 @@ type AddObject struct {
type
Truncate
struct
{
Tid
zodb
.
Tid
//
XXX _
answer = Error
// answer = Error
}
// ---- runtime support for protogen and custom codecs ----
...
...
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