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
c0c6f89c
Commit
c0c6f89c
authored
Oct 30, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
X neo/go/proto: Sync with neo/py/proto
See
aeeaef89
(Update comment of RECOVERING state).
parent
c42272a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
go/neo/proto.go
go/neo/proto.go
+4
-4
No files found.
go/neo/proto.go
View file @
c0c6f89c
...
@@ -130,13 +130,13 @@ const (
...
@@ -130,13 +130,13 @@ const (
type
ClusterState
int32
type
ClusterState
int32
const
(
const
(
// Once the primary master is elected, the cluster has a state, which is
// The cluster is initially in the RECOVERING state, and it goes back to
// initially ClusterRecovery, during which the master:
// this state whenever the partition table becomes non-operational again.
// An election of the primary master always happens, in case of a network
// cut between a primary master and all other nodes. The primary master:
// - first recovers its own data by reading it from storage nodes;
// - first recovers its own data by reading it from storage nodes;
// - waits for the partition table be operational;
// - waits for the partition table be operational;
// - automatically switch to ClusterVerifying if the cluster can be safely started. XXX not automatic
// - automatically switch to ClusterVerifying if the cluster can be safely started. XXX not automatic
// Whenever the partition table becomes non-operational again, the cluster
// goes back to this state.
ClusterRecovering
ClusterState
=
iota
ClusterRecovering
ClusterState
=
iota
// Transient state, used to:
// Transient state, used to:
// - replay the transaction log, in case of unclean shutdown;
// - replay the transaction log, in case of unclean shutdown;
...
...
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