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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

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.

@gr0vity-dev-bot
Copy link

Test Results for Commit 3d72ae9

Pull Request 4772: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 112s)
  • 5n4pr_conf_10k_change: PASS (Duration: 211s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 147s)
  • 5n4pr_conf_change_independant: PASS (Duration: 164s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 138s)
  • 5n4pr_conf_send_independant: PASS (Duration: 130s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 111s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 232s)

Last updated: 2024-10-27 17:29:58 UTC

@qwahzi qwahzi added this to the V28 milestone Oct 30, 2024
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.

3 participants