Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
de5ae7f0
Commit
de5ae7f0
authored
Feb 22, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ce197699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
go/neo/mastered.go
go/neo/mastered.go
+7
-0
No files found.
go/neo/mastered.go
View file @
de5ae7f0
...
...
@@ -217,6 +217,13 @@ type _MasterLink struct {
//
// Must be called only when master link is established - e.g. from under TalkMaster.
func
(
mlink
*
_MasterLink
)
Recv1
(
ctx
context
.
Context
)
(
neonet
.
Request
,
error
)
{
// XXX this implementation assumes that Recv1 user is serial
// XXX if the client code (that is run from under talkMaster1) becomes
// not serial and calls multiple Recv1 in parallel, the order of
// recvδstate calls might become different compared to the order of
// from-M messages -> corrupt tables.
//
// (for now both users - client and storage - call mlink.Recv1 serially)
for
{
req
,
err
:=
mlink
.
NodeLink
.
Recv1
()
// XXX cancel on ctx
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