[Checkins] [zopefoundation/ZODB] 24c61e: - Call new afterCompletion API on storages to allo...
GitHub
noreply at github.com
Thu Feb 9 18:09:42 CET 2017
Branch: refs/heads/master
Home: https://github.com/zopefoundation/ZODB
Commit: 24c61eaec9f65ae79d1f5b7ee827b00c8fe0fe77
https://github.com/zopefoundation/ZODB/commit/24c61eaec9f65ae79d1f5b7ee827b00c8fe0fe77
Author: Jim Fulton <jim at zope.com>
Date: 2017-02-08 (Wed, 08 Feb 2017)
Changed paths:
M CHANGES.rst
M src/ZODB/Connection.py
M src/ZODB/interfaces.py
M src/ZODB/tests/testConnection.py
Log Message:
-----------
- Call new afterCompletion API on storages to allow them to free
resources after transaction complete. See:
https://github.com/zodb/relstorage/issues/147
- Take advantage of the new transaction-manager explicit mode to avoid
starting transactions unnecessarily when transactions end.
Commit: 48d96cc9a6a575f757fb306b0fd753e4ce3a3340
https://github.com/zopefoundation/ZODB/commit/48d96cc9a6a575f757fb306b0fd753e4ce3a3340
Author: Jim Fulton <jim at zope.com>
Date: 2017-02-08 (Wed, 08 Feb 2017)
Changed paths:
M src/ZODB/tests/testConnection.py
Log Message:
-----------
Close test connection
For safety, closing the database aborts transaction managers
associated with open connections. In explicit mode, this can lead to
NoTransaction errors.
It's likely a bug for DB objects to abort transactons on
close. This needs more thought.
Commit: 8c4c5a61e2a246dc3b5ed06b11d31b0a96d11875
https://github.com/zopefoundation/ZODB/commit/8c4c5a61e2a246dc3b5ed06b11d31b0a96d11875
Author: Jim Fulton <jim at zope.com>
Date: 2017-02-08 (Wed, 08 Feb 2017)
Changed paths:
M src/ZODB/Connection.py
M src/ZODB/tests/testConnection.py
Log Message:
-----------
Fixed: newTransaction was being called in open even in explicit-transaction mode.
Commit: 71df526ea526ec1109ccb125faf4c24fa4f61fa9
https://github.com/zopefoundation/ZODB/commit/71df526ea526ec1109ccb125faf4c24fa4f61fa9
Author: Jim Fulton <jim at zope.com>
Date: 2017-02-09 (Thu, 09 Feb 2017)
Changed paths:
M src/ZODB/Connection.py
Log Message:
-----------
Move incrgc from newTransaction to afterCompletion
Where it makes more sense. Hysterically, it didn't matter because one
was an alias for the other.
Commit: a97ca02f770c8a80ca58d832b113c3d612da3c0c
https://github.com/zopefoundation/ZODB/commit/a97ca02f770c8a80ca58d832b113c3d612da3c0c
Author: Jim Fulton <jim at jimfulton.info>
Date: 2017-02-09 (Thu, 09 Feb 2017)
Changed paths:
M CHANGES.rst
M src/ZODB/Connection.py
M src/ZODB/interfaces.py
M src/ZODB/tests/testConnection.py
Log Message:
-----------
Merge pull request #146 from zopefoundation/storage-afterCompletion2
Notify storages that transactions have completed.
Compare: https://github.com/zopefoundation/ZODB/compare/739761cfd7e7...a97ca02f770c
More information about the checkins
mailing list