[ZCM] [ZC] 2160/ 1 Request "ZCatalog uses "savepoint" inadequately"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Thu Jul 27 08:16:07 EDT 2006
Issue #2160 Update (Request) "ZCatalog uses "savepoint" inadequately"
Status Pending, Catalog/bug+solution medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2160
==============================================================
= Request - Entry #1 by d.maurer on Jul 27, 2006 8:16 am
Uploaded: "ZCatalog-savepoint.pat"
- http://www.zope.org/Collectors/Zope/2160/ZCatalog-savepoint.pat/view
Formerly, ZCatalog contained a subtransaction.commit (to free resources). As now subtransactions are deprecated, someone tried to emulated the commit by means of "savepoint" and forgot the "optimistic=True" parameter.
As a consequence large transactions modifying data in a non "savepoint" capable datamanager (e.g. via a relational database adapter) will fail with a TypeError as soon as they reach the subtransaction threshold of the catalog.
==============================================================
More information about the Zope-Collector-Monitor
mailing list