Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
96d93064
Unverified
Commit
96d93064
authored
Feb 25, 2021
by
Péter Szilágyi
Committed by
GitHub
Feb 25, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #22381 from karalabe/lower-error-log
eth/protocols/snap: lower abortion and resumption logs to debug
parents
8e547eec
b2b5c82a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sync.go
eth/protocols/snap/sync.go
+2
-2
No files found.
eth/protocols/snap/sync.go
View file @
96d93064
...
...
@@ -1595,7 +1595,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
// is interrupted and resumed later. However, *do* update the
// previous root hash.
if
subtasks
,
ok
:=
res
.
task
.
SubTasks
[
res
.
hashes
[
i
]];
ok
{
log
.
Error
(
"Resuming large storage retrieval"
,
"account"
,
res
.
hashes
[
i
],
"root"
,
account
.
Root
)
log
.
Debug
(
"Resuming large storage retrieval"
,
"account"
,
res
.
hashes
[
i
],
"root"
,
account
.
Root
)
for
_
,
subtask
:=
range
subtasks
{
subtask
.
root
=
account
.
Root
}
...
...
@@ -1614,7 +1614,7 @@ func (s *Syncer) processAccountResponse(res *accountResponse) {
// now we have to live with that.
for
hash
:=
range
res
.
task
.
SubTasks
{
if
_
,
ok
:=
resumed
[
hash
];
!
ok
{
log
.
Error
(
"Aborting suspended storage retrieval"
,
"account"
,
hash
)
log
.
Debug
(
"Aborting suspended storage retrieval"
,
"account"
,
hash
)
delete
(
res
.
task
.
SubTasks
,
hash
)
}
}
...
...
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