This repository was archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
fix: Refine stability update #429
Merged
Merged
Conversation
This file contains hidden or 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
* fix: Specify TypeDecorator.cache_ok fields to allow more aggressive query caching in SQLAlchemy v1.4+
* SQLAlchemy 1.4.15 now requires txns completely retried as a whole context manager. * Wrap all retried DB transactions with nested functions. * Just grab a new connection for every transaction in the dispatcher instead of reusing them, because now we use the "SERIALIZABLE" isolation level and mark each transaction read-only or not using connection-level execution options. * Now there are NO unpredictable hangs and missing status changes, regardless of the loadrunner concurrency. YAY!!
Codecov Report
@@ Coverage Diff @@
## main #429 +/- ##
==========================================
- Coverage 48.83% 48.56% -0.28%
==========================================
Files 52 52
Lines 8442 8511 +69
==========================================
+ Hits 4123 4133 +10
- Misses 4319 4378 +59
Continue to review full report at Codecov.
|
achimnol
added a commit
that referenced
this pull request
May 11, 2021
* fix: Update alembic, SQLAlchemy versions
* fix: Specify TypeDecorator.cache_ok fields to allow more aggressive
query caching in SQLAlchemy v1.4+
* fix: Properly retry transactions
- SQLAlchemy 1.4.15 now requires txns completely retried as a whole
context manager.
- Wrap all retried DB transactions with nested functions.
- Just grab a new connection for every transaction in the dispatcher
instead of reusing them, because now we use the "SERIALIZABLE"
isolation level and mark each transaction read-only or not
using connection-level execution options.
- Now there are NO unpredictable hangs and missing status changes,
regardless of the loadrunner concurrency. YAY!!
* setup: Update mypy version
Backported-From: main
Backported-To: 21.03
achimnol
added a commit
that referenced
this pull request
May 11, 2021
* fix: Update alembic, SQLAlchemy versions
* fix: Specify TypeDecorator.cache_ok fields to allow more aggressive
query caching in SQLAlchemy v1.4+
* fix: Properly retry transactions
- SQLAlchemy 1.4.15 now requires txns completely retried as a whole
context manager.
- Wrap all retried DB transactions with nested functions.
- Just grab a new connection for every transaction in the dispatcher
instead of reusing them, because now we use the "SERIALIZABLE"
isolation level and mark each transaction read-only or not
using connection-level execution options.
- Now there are NO unpredictable hangs and missing status changes,
regardless of the loadrunner concurrency. YAY!!
* setup: Update mypy version
Backported-From: main
Backported-To: 20.09
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.