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
e88063c9
Commit
e88063c9
authored
Feb 18, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
081210a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/neo/master.go
go/neo/master.go
+2
-2
No files found.
go/neo/master.go
View file @
e88063c9
...
...
@@ -308,7 +308,7 @@ func (m *Master) main(ctx context.Context) (err error) {
// a command came to us to start the cluster.
err
:=
m
.
recovery
(
ctx
)
if
err
!=
nil
{
log
.
Error
(
ctx
,
err
)
// do not log - the error is returned up
return
err
// recovery cancelled
}
log
.
Infof
(
ctx
,
"recovered ok; partTab:
\n
%s"
,
m
.
node
.
State
.
PartTab
)
...
...
@@ -855,7 +855,7 @@ func (m *Master) serve(ctx context.Context) (err error) {
case
proto
.
CLIENT
:
err
=
m
.
serveClient
(
ctx
,
peer
)
// XXX ADMIN
// XXX ADMIN
, MASTER
default
:
err
=
fmt
.
Errorf
(
"TODO: serve %s"
,
peer
.
node
.
Type
)
}
...
...
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