Skip to content
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

Merged
merged 8 commits into from
Jan 14, 2022

Conversation

iulianpascalau
Copy link
Contributor

  • suppressed original processing errors when the node is shuffling between shards

@codecov
Copy link

codecov bot commented Jan 13, 2022

Codecov Report

Merging #3698 (40ead07) into development (289e266) will decrease coverage by 0.00%.
The diff coverage is 70.58%.

Impacted file tree graph

@@               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              
Impacted Files Coverage Δ
consensus/spos/bls/subroundBlock.go 70.54% <12.50%> (-0.97%) ⬇️
consensus/chronology/chronology.go 80.61% <66.66%> (ø)
process/sync/metablock.go 59.91% <66.66%> (+0.17%) ⬆️
process/sync/shardblock.go 66.16% <66.66%> (+0.17%) ⬆️
common/context.go 100.00% <100.00%> (ø)
consensus/spos/bls/subroundEndRound.go 71.42% <100.00%> (ø)
consensus/spos/bls/subroundSignature.go 77.96% <100.00%> (ø)
consensus/spos/bls/subroundStartRound.go 72.77% <100.00%> (ø)
consensus/spos/subround.go 82.35% <100.00%> (ø)
process/sync/baseSync.go 68.69% <100.00%> (+0.15%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bb2ebf...40ead07. Read the comment docs.

common/context.go Outdated Show resolved Hide resolved
consensus/spos/bls/subroundBlock.go Outdated Show resolved Hide resolved
bogdan-rosianu
bogdan-rosianu previously approved these changes Jan 13, 2022
bogdan-rosianu
bogdan-rosianu previously approved these changes Jan 13, 2022
@@ -502,6 +502,11 @@ func (boot *baseBootstrap) syncBlocks(ctx context.Context) {

err := boot.syncStarter.SyncBlock()
Copy link
Contributor

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.

Copy link
Contributor Author

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

Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System test passed
image

@LucianMincu LucianMincu merged commit d322357 into development Jan 14, 2022
@LucianMincu LucianMincu deleted the no-process-error-on-shuffle-out branch January 14, 2022 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants