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
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) {
...
@@ -663,13 +663,15 @@ func (m *Master) verify(ctx context.Context) (err error) {
stor
.
wg
.
Go
(
func
(
peerCtx
context
.
Context
)
error
{
stor
.
wg
.
Go
(
func
(
peerCtx
context
.
Context
)
error
{
defer
wg
.
Done
()
defer
wg
.
Done
()
var
...
var
lastOid
zodb
.
Oid
var
lastTid
zodb
.
Tid
err
:=
stor
.
run
(
ctx
,
func
()
error
{
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
{})
ack
:=
make
(
chan
struct
{})
verifyq
<-
storVerify
{
stor
:
stor
,
...
}
verifyq
<-
storVerify
{
stor
:
stor
,
lastOid
:
lastOid
,
lastTid
:
lastTid
,
err
:
err
}
<-
ack
<-
ack
// canceled verify does not mean we should down the storage node
// canceled verify does not mean we should down the storage node
...
@@ -677,7 +679,7 @@ func (m *Master) verify(ctx context.Context) (err error) {
...
@@ -677,7 +679,7 @@ func (m *Master) verify(ctx context.Context) (err error) {
err
=
nil
err
=
nil
}
}
return
err
return
err
}
(
)
})
}
}
// start verification on all storages we are currently in touch with
// 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