summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-05-27 13:45:20 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2018-05-28 09:28:12 -0400
commit2ac7cad7179ff594d8bb3df9856c891bf4e51097 (patch)
tree91b60206e44e64748b971d339fd620a217415f4c /doc
parentc7ae04d1c5c4aa6c6099584ae386d6ab9ef7b290 (diff)
downloadsqlalchemy-2ac7cad7179ff594d8bb3df9856c891bf4e51097.tar.gz
Mutex on _CONFIGURE_MUTEX in automap.prepare()
Fixed a race condition which could occur if automap :meth:`.AutomapBase.prepare` were used within a multi-threaded context against other threads which may call :func:`.configure_mappers` as a result of use of other mappers. The unfinished mapping work of automap is particularly sensitive to being pulled in by a :func:`.configure_mappers` step leading to errors. Change-Id: I6d36df6639bf5cb8f137187dff68f386f5e84f88 Fixes: #4266
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/unreleased_12/4266.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_12/4266.rst b/doc/build/changelog/unreleased_12/4266.rst
new file mode 100644
index 000000000..923c7c851
--- /dev/null
+++ b/doc/build/changelog/unreleased_12/4266.rst
@@ -0,0 +1,11 @@
+.. change::
+ :tags: bug, ext
+ :tickets: 4266
+ :versions: 1.3.0b1
+
+ Fixed a race condition which could occur if automap
+ :meth:`.AutomapBase.prepare` were used within a multi-threaded context
+ against other threads which may call :func:`.configure_mappers` as a
+ result of use of other mappers. The unfinished mapping work of automap
+ is particularly sensitive to being pulled in by a
+ :func:`.configure_mappers` step leading to errors.