Skip to content

catchup: alternative pause catchup if ledger lagging behind#5803

Closed
algorandskiy wants to merge 11 commits intoalgorand:masterfrom
algorandskiy:pavel/catchup-pause-2
Closed

catchup: alternative pause catchup if ledger lagging behind#5803
algorandskiy wants to merge 11 commits intoalgorand:masterfrom
algorandskiy:pavel/catchup-pause-2

Conversation

@algorandskiy
Copy link
Copy Markdown
Contributor

Summary

This is alternative to the #5794
The main difference is the last commit where pipelinedFetch is suspended to let pending goroutines to complete and write blocks rather than about and cancel. This should help with bandwidth usage.

@algorandskiy algorandskiy requested a review from cce October 24, 2023 20:58
@algorandskiy algorandskiy self-assigned this Oct 24, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 24, 2023

Codecov Report

Merging #5803 (c285cda) into master (6c482ab) will increase coverage by 0.03%.
Report is 10 commits behind head on master.
The diff coverage is 70.00%.

@@            Coverage Diff             @@
##           master    #5803      +/-   ##
==========================================
+ Coverage   55.55%   55.58%   +0.03%     
==========================================
  Files         474      474              
  Lines       66850    66878      +28     
==========================================
+ Hits        37138    37174      +36     
+ Misses      27188    27183       -5     
+ Partials     2524     2521       -3     
Files Coverage Δ
ledger/ledger.go 68.70% <0.00%> (-0.34%) ⬇️
catchup/service.go 71.97% <68.75%> (+2.24%) ⬆️
ledger/tracker.go 78.42% <75.00%> (+1.05%) ⬆️

... and 9 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@winder winder assigned winder and algorandskiy and unassigned algorandskiy and winder Oct 25, 2023
@algorandskiy
Copy link
Copy Markdown
Contributor Author

ported to #5794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants