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
a726770c
Commit
a726770c
authored
Feb 12, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
31f4e061
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
go/neo/master.go
go/neo/master.go
+6
-4
No files found.
go/neo/master.go
View file @
a726770c
...
...
@@ -663,13 +663,15 @@ func (m *Master) verify(ctx context.Context) (err error) {
stor
.
wg
.
Go
(
func
(
peerCtx
context
.
Context
)
error
{
defer
wg
.
Done
()
var
...
var
lastOid
zodb
.
Oid
var
lastTid
zodb
.
Tid
err
:=
stor
.
run
(
ctx
,
func
()
error
{
...
=
storCtlVerify
(
ctx
,
stor
,
m
.
node
.
State
.
PartTab
)
var
err
error
lastOid
,
lastTid
,
err
=
storCtlVerify
(
ctx
,
stor
,
m
.
node
.
State
.
PartTab
)
})
ack
:=
make
(
chan
struct
{})
verifyq
<-
storVerify
{
stor
:
stor
,
...
}
verifyq
<-
storVerify
{
stor
:
stor
,
lastOid
:
lastOid
,
lastTid
:
lastTid
,
err
:
err
}
<-
ack
// canceled verify does not mean we should down the storage node
...
...
@@ -677,7 +679,7 @@ func (m *Master) verify(ctx context.Context) (err error) {
err
=
nil
}
return
err
}
(
)
})
}
// start verification on all storages we are currently in touch with
...
...
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