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

dkg/sync: introduce explicit sync steps #2509

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Conversation

corverroos
Copy link
Contributor

Introduces explicit sync steps in DKG, allowing all peers to wait for other to complete each step before continuing to next step. This prevents fast peers timing out sending stuff to slow peers. It also mitigates against shutdown races.

category: bug
ticket: #887

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch coverage: 68.14% and project coverage change: +0.05% 🎉

Comparison is base (635f0dc) 53.64% compared to head (fc3aef9) 53.69%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2509      +/-   ##
==========================================
+ Coverage   53.64%   53.69%   +0.05%     
==========================================
  Files         199      199              
  Lines       26813    26907      +94     
==========================================
+ Hits        14383    14447      +64     
- Misses      10649    10665      +16     
- Partials     1781     1795      +14     
Files Changed Coverage Δ
dkg/dkg.go 57.29% <51.02%> (-1.01%) ⬇️
dkg/sync/server.go 70.18% <70.00%> (+0.12%) ⬆️
dkg/sync/client.go 76.92% <100.00%> (+4.33%) ⬆️

... and 9 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@corverroos corverroos added the merge when ready Indicates bulldozer bot may merge when all checks pass label Aug 4, 2023
@obol-bulldozer obol-bulldozer bot merged commit 9cbb146 into main Aug 4, 2023
@obol-bulldozer obol-bulldozer bot deleted the corver/dkgsyncstep branch August 4, 2023 12:17
gsora pushed a commit that referenced this pull request Aug 9, 2023
Introduces explicit sync steps in DKG, allowing all peers to wait for other to complete each step before continuing to next step. This prevents fast peers timing out sending stuff to slow peers. It also mitigates against shutdown races.

category: bug
ticket: #887
obol-bulldozer bot pushed a commit that referenced this pull request Aug 9, 2023
The following PRs have been cherry-picked:

- #2490
- #2494
- #2496
- #2509
- #2510
- #2504
- #2511
- #2514
- #2516
- #2518


category: misc
ticket: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants