-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No process error on shuffle out #3698
Conversation
iulianpascalau
commented
Jan 13, 2022
- suppressed original processing errors when the node is shuffling between shards
Codecov Report
@@ Coverage Diff @@
## development #3698 +/- ##
===============================================
- Coverage 73.76% 73.76% -0.01%
===============================================
Files 587 588 +1
Lines 76073 76091 +18
===============================================
+ Hits 56116 56129 +13
- Misses 15520 15525 +5
Partials 4437 4437
Continue to review full report at Codecov.
|
process/sync/baseSync.go
Outdated
@@ -502,6 +502,11 @@ func (boot *baseBootstrap) syncBlocks(ctx context.Context) { | |||
|
|||
err := boot.syncStarter.SyncBlock() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is another err log in this method which could be avoided if we also send ctx there. I don't have a strong opinion if it is mandatory to be done also there, as we log here that the go routine is stopping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, the correct process there is to replace the error
71658d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.