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

Do not add processed live traffic into priorities #4801

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gr0vity-dev
Copy link
Contributor

I noticed that processed live traffic is inserted into priorities.
My understanding is that processed blocks from live traffic don't need further bootstrapping and they should not be a bootstrap priority.

- processed live traffic doesn't need bootstrapping
@qwahzi qwahzi added this to the V28 milestone Dec 3, 2024
@clemahieu
Copy link
Contributor

I think a full bootstrap profile would give an answer.

@gr0vity-dev
Copy link
Contributor Author

When the live traffic block is processed (with result == progress). Doesn't this mean that the block was inserted into the ledger and the account chain is fully in sync with the network ?

I'm running a live bootstrap with a modified version, having among others this What should I be looking at ?

Screenshot 2024-12-03 at 14 42 07

@gr0vity-dev-bot
Copy link

Test Results for Commit 83563b3

Pull Request 4801: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 111s)
  • 5n4pr_conf_10k_change: PASS (Duration: 148s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 138s)
  • 5n4pr_conf_change_independant: PASS (Duration: 133s)
  • 5n4pr_conf_send_dependant: FAIL (Duration: 830s)
  • Log
  • 5n4pr_conf_send_independant: PASS (Duration: 120s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 115s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 146s)

Last updated: 2024-12-03 14:33:25 UTC

@pwojcikdev
Copy link
Contributor

pwojcikdev commented Dec 14, 2024

I don't think profiling the from scratch bootstrap is a proper way to judge an impact of this. Rather this should affect how node handles live spam, as this should reduce bootstrap traffic in this case. If spam tests look OK we should merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress / V28.0
Development

Successfully merging this pull request may close these issues.

5 participants