Commit 461451a6 authored by Tim Peters's avatar Tim Peters

Part of Collector 1860 (the other part is in Zope).

There's no possiblity of rollback here, so no need to insist that the
data manager support rollbacks.
parent fc43960e
What's new in ZODB3 3.4.1b3? What's new in ZODB3 3.4.1b4?
============================ ============================
Release date: DD-MMM-2005 Release date: DD-MMM-2005
Following are dates of internal releases (to support ongoing Zope 2 Following are dates of internal releases (to support ongoing Zope 2
development) since ZODB 3.4's last public release: development) since ZODB 3.4's last public release:
- 3.4.1b4 07-Aug-2005
- 3.4.1b3 04-Aug-2005 - 3.4.1b3 04-Aug-2005
- 3.4.1b2 02-Aug-2005 - 3.4.1b2 02-Aug-2005
- 3.4.1b1 26-Jul-2005 - 3.4.1b1 26-Jul-2005
...@@ -32,6 +33,10 @@ Savepoints ...@@ -32,6 +33,10 @@ Savepoints
marked a savepoint as invalid after its first use. The implementation has marked a savepoint as invalid after its first use. The implementation has
been repaired, to match the docs. been repaired, to match the docs.
- (3.4.1b4) Collector 1860: use an optimistic savepoint in ExportImport
(there's no possiblity of rollback here, so no need to insist that the
data manager support rollbacks).
ZEO client cache ZEO client cache
---------------- ----------------
......
...@@ -72,7 +72,7 @@ class ExportImport: ...@@ -72,7 +72,7 @@ class ExportImport:
return_oid_list = [] return_oid_list = []
self._import = f, return_oid_list self._import = f, return_oid_list
self._register() self._register()
t.savepoint() t.savepoint(optimistic=True)
# Return the root imported object. # Return the root imported object.
if return_oid_list: if return_oid_list:
return self.get(return_oid_list[0]) return self.get(return_oid_list[0])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment