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

Disallow database operations on network IO threads #4772

Merged
merged 5 commits into from
Nov 27, 2024

Conversation

pwojcikdev
Copy link
Contributor

@pwojcikdev pwojcikdev commented Oct 27, 2024

Doing synchronous disk IO on network IO threads can introduce very long delays, blocking network thread pool. This adds an assert that will detect this.

Currently this doesn't pass tests nicely because legacy bootstrap trips the assert.

@pwojcikdev pwojcikdev force-pushed the prevent-db-on-io-threads branch 2 times, most recently from f283da3 to 3d72ae9 Compare October 27, 2024 16:10
@gr0vity-dev-bot
Copy link

gr0vity-dev-bot commented Oct 27, 2024

Test Results for Commit b07d3db

Pull Request 4772: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 109s)
  • 5n4pr_conf_10k_change: PASS (Duration: 154s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 122s)
  • 5n4pr_conf_change_independant: PASS (Duration: 142s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 136s)
  • 5n4pr_conf_send_independant: PASS (Duration: 127s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 110s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 170s)

Last updated: 2024-11-27 13:46:06 UTC

@qwahzi qwahzi added this to the V28 milestone Oct 30, 2024
@pwojcikdev pwojcikdev force-pushed the prevent-db-on-io-threads branch from 3d72ae9 to c2c0a42 Compare November 2, 2024 18:25
@pwojcikdev pwojcikdev force-pushed the prevent-db-on-io-threads branch from c2c0a42 to 179dd04 Compare November 27, 2024 07:56
@pwojcikdev pwojcikdev merged commit 308f394 into nanocurrency:develop Nov 27, 2024
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged / V28.0
Development

Successfully merging this pull request may close these issues.

3 participants