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

Lazy bootstrap retry limit #2362

Merged
merged 37 commits into from
Oct 31, 2019

Conversation

SergiySW
Copy link
Contributor

@SergiySW SergiySW commented Oct 24, 2019

  • different retry limit for lazy destinations and possible links from state blocks (add retry limit to nano::bulk_pull)
  • start lazy pulls for all known destinations in lazy bootstrap attempt
  • dynamic bulk pull blocks limit for lazy bootstrap based on lazy blocks ratio (total processed blocks / lazy blocks)
  • don't clean unchecked for longest bootstrap attempts
  • use bootstrap network params
  • improve lock in process_block_lazy ()
  • increase max lazy bootstrap duration
  • change max lazy keys limit
  • increase bootstrap_max_new_connections
  • fix: stop lazy bootstrap with stopped node
  • fix: proper reuse of of connections after lazy pull stop

-RPC change in v20: more data in bootstrap_status

Also process all lazy destinations instead of only top destinations
- stop lazy bootstrap with stopped node
- use bootstrap network params
- improve lock in process_block_lazy ()
- increase max lazy bootstrap duration
@SergiySW SergiySW added the quality improvements This item indicates the need for or supplies changes that improve maintainability label Oct 24, 2019
@SergiySW SergiySW added this to the V20.0 milestone Oct 24, 2019
@SergiySW SergiySW self-assigned this Oct 24, 2019
@SergiySW SergiySW merged commit 62db44d into nanocurrency:master Oct 31, 2019
argakiig pushed a commit that referenced this pull request Oct 31, 2019
- different retry limit for lazy destinations and possible links from state blocks (add retry limit to nano::bulk_pull)
- start lazy pulls for all known destinations in lazy bootstrap attempt
- dynamic bulk pull blocks limit for lazy bootstrap based on lazy blocks ratio (total processed blocks / lazy blocks)
- don't clean unchecked for longest bootstrap attempts
- use bootstrap network params
- improve lock in process_block_lazy ()
- increase max lazy bootstrap duration
- change max lazy keys limit
- increase bootstrap_max_new_connections
- fix: stop lazy bootstrap with stopped node
- fix: proper reuse of of connections after lazy pull stop
@zhyatt zhyatt added rpc Changes related to Remote Procedure Calls and removed rpc nonbreaking change labels Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality improvements This item indicates the need for or supplies changes that improve maintainability rpc Changes related to Remote Procedure Calls
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants