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
f793d3da
Commit
f793d3da
authored
Feb 05, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
64c62847
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
go/neo/master.go
go/neo/master.go
+1
-1
go/neo/storage.go
go/neo/storage.go
+1
-1
No files found.
go/neo/master.go
View file @
f793d3da
...
...
@@ -891,7 +891,7 @@ func storCtlService(ctx context.Context, stor *xneo.PeerNode) (err error) {
defer
task
.
Runningf
(
&
ctx
,
"%s: stor service"
,
slink
.
RemoteAddr
())(
&
err
)
// XXX current neo/py does StartOperation / NotifyReady as separate
// sends, not exchange on the same conn. -
fixed
// sends, not exchange on the same conn. -
py draftly fixed in 4eaaf186.
ready
:=
proto
.
NotifyReady
{}
err
=
slink
.
Ask1
(
&
proto
.
StartOperation
{
Backup
:
false
},
&
ready
)
//err = slink.Send1(&proto.StartOperation{Backup: false})
...
...
go/neo/storage.go
View file @
f793d3da
...
...
@@ -265,7 +265,7 @@ func (stor *Storage) m1serve(ctx context.Context, mlink *_MasterLink, reqStart *
defer
opCancel
()
// reply M we are ready
// XXX NEO/py sends NotifyReady on another conn; we patched py
;
see 4eaaf186 for context
// XXX NEO/py sends NotifyReady on another conn; we patched py
:
see 4eaaf186 for context
err
=
reqStart
.
Reply
(
&
proto
.
NotifyReady
{})
reqStart
.
Close
()
if
err
!=
nil
{
...
...
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