-
Notifications
You must be signed in to change notification settings - Fork 219
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
fix(dht): use blocking tasks for db calls #3887
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delta1
approved these changes
Mar 2, 2022
bors r+ |
bors bot
added a commit
that referenced
this pull request
Mar 2, 2022
3878: docs(rfc): deep links strucure convention r=delta1 a=TruszczynskiA - Added RFC describing the structure of the deep links used by the Tari Aurora clients. 3887: fix(dht): use blocking tasks for db calls r=delta1 a=sdbondi Description --- - Use tokio blocking threadpool for DHT db Motivation and Context --- Db calls are blocking How Has This Been Tested? --- Existing tests pass Co-authored-by: Adrian Truszczyński <[email protected]> Co-authored-by: Adrian Truszczyński <[email protected]> Co-authored-by: Byron Hambly <[email protected]> Co-authored-by: Stanimal <[email protected]>
Build failed (retrying...): |
bors bot
added a commit
that referenced
this pull request
Mar 2, 2022
3887: fix(dht): use blocking tasks for db calls r=delta1 a=sdbondi Description --- - Use tokio blocking threadpool for DHT db Motivation and Context --- Db calls are blocking How Has This Been Tested? --- Existing tests pass Co-authored-by: Stanimal <[email protected]>
This PR was included in a batch that successfully built, but then failed to merge into development. It will not be retried. Additional information: {"message":"Required status check \"check-title\" is expected.","documentation_url":"https://docs.github.com/articles/about-protected-branches"} |
bors r+ |
aviator-app bot
pushed a commit
that referenced
this pull request
Mar 9, 2022
Description --- This reverts commit 4274f25, reversing changes made to b48ee3e. Motivation and Context --- There are reports of issues with wallet to wallet stress testing that are said to be related to changes in #3887. Since these changes are meant to be in-line with how tokio is designed to be used (i.e. don't block task threads) but otherwise, should be pretty inconsequential in normal use, I revert them here so that we can observe differences if any. In my stress testing I encountered similar issues with sending many transaction w2w with or without these changes. More specifically, transactions seem to get "stuck in pending" (underlying cause not found). How Has This Been Tested? --- Sending w2w stress test in order of a few hundred txns
sdbondi
added a commit
to Cifko/tari
that referenced
this pull request
Mar 14, 2022
* development: (54 commits) fix(block-sync): use avg latency to determine slow sync peer for block sync (tari-project#3912) fix: fix merge mining proxy pool mining (tari-project#3814) revert: remove use of blocking tasks for DHT db (reverts tari-project#3887) (tari-project#3901) chore: add license info missing from some crates (tari-project#3892) fix(core): correctly filter pruned sync peers for block sync (tari-project#3902) ci: revert bors squash merge (tari-project#3900) fix: update metadata size calculation to use FixedSet.iter() docs(rfc): deep links structure convention - deep links is use (tari-project#3897) ci: use squash merge for bors (tari-project#3896) change struct fmt chore: fix npm dependencies feat: update FFI client user agent string fix: update wallet logging config fix completed tx index ignore clippy code review fmt fix: add bound for number of console_wallet notifications remove TODOs ...
sdbondi
added a commit
to sdbondi/tari
that referenced
this pull request
Mar 15, 2022
* development: (118 commits) chore: clean up providing seed words from LibWallet (tari-project#3906) chore: move tari_script into its own crate (tari-project#3909) fix(consensus): check blockchain version within valid range (tari-project#3916) ci: fix missing npm deps and add javascript ci (tari-project#3910) refactor: use clap as a commands parser (tari-project#3867) chore: use git tagged tari_utilities and tari-crypto deps (tari-project#3913) fix: aligned tables left (tari-project#3899) ci: fix vue build v0.29.0 feat!: add recovery byte to output features (tari-project#3727) add ffi ci check (tari-project#3915) fix(block-sync): use avg latency to determine slow sync peer for block sync (tari-project#3912) fix: fix merge mining proxy pool mining (tari-project#3814) revert: remove use of blocking tasks for DHT db (reverts tari-project#3887) (tari-project#3901) chore: add license info missing from some crates (tari-project#3892) fix(core): correctly filter pruned sync peers for block sync (tari-project#3902) ci: revert bors squash merge (tari-project#3900) fix: update metadata size calculation to use FixedSet.iter() docs(rfc): deep links structure convention - deep links is use (tari-project#3897) ci: use squash merge for bors (tari-project#3896) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Motivation and Context
Db calls are blocking
How Has This Been Tested?
Existing tests pass