diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2018-05-16 23:20:13 -0400 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@ci.zzzcomputing.com> | 2018-05-16 23:20:13 -0400 |
| commit | b9441c769b67fb02a0ddac7e0112199c6f571578 (patch) | |
| tree | c736b4d8bc34001bd52398581e929edc17da3e40 /doc | |
| parent | 9ac5135a68e35c0ffa669d1996896b5469c7e02f (diff) | |
| parent | dada909a1009ad2f77063752ac8c13a7808dd916 (diff) | |
| download | sqlalchemy-b9441c769b67fb02a0ddac7e0112199c6f571578.tar.gz | |
Merge "Prevent double-checkins and guard during reset-on-return invalidations"
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_12/4252.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_12/4252.rst b/doc/build/changelog/unreleased_12/4252.rst new file mode 100644 index 000000000..7ca8c7d32 --- /dev/null +++ b/doc/build/changelog/unreleased_12/4252.rst @@ -0,0 +1,15 @@ +.. change:: + :tags: bug, engine + :tickets: 4252 + :versions: 1.3.0b1 + + Fixed connection pool issue whereby if a disconnection error were raised + during the connection pool's "reset on return" sequence in conjunction with + an explicit transaction opened against the enclosing :class:`.Connection` + object (such as from calling :meth:`.Session.close` without a rollback or + commit, or calling :meth:`.Connection.close` without first closing a + transaction declared with :meth:`.Connection.begin`), a double-checkin would + result, which could then lead towards concurrent checkouts of the same + connection. The double-checkin condition is now prevented overall by an + assertion, as well as the specific double-checkin scenario has been + fixed.
\ No newline at end of file |
