[Zodb-checkins] SVN: ZODB/branches/3.4/ Part of Collector 1860 (the other part is in Zope).

Tim Peters tim.one at comcast.net
Sun Aug 7 17:36:38 EDT 2005


Log message for revision 37777:
  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.
  

Changed:
  U   ZODB/branches/3.4/NEWS.txt
  U   ZODB/branches/3.4/src/ZODB/ExportImport.py

-=-
Modified: ZODB/branches/3.4/NEWS.txt
===================================================================
--- ZODB/branches/3.4/NEWS.txt	2005-08-07 20:28:33 UTC (rev 37776)
+++ ZODB/branches/3.4/NEWS.txt	2005-08-07 21:36:38 UTC (rev 37777)
@@ -1,10 +1,11 @@
-What's new in ZODB3 3.4.1b3?
+What's new in ZODB3 3.4.1b4?
 ============================
 Release date: DD-MMM-2005
 
 Following are dates of internal releases (to support ongoing Zope 2
 development) since ZODB 3.4's last public release:
 
+- 3.4.1b4 07-Aug-2005
 - 3.4.1b3 04-Aug-2005
 - 3.4.1b2 02-Aug-2005
 - 3.4.1b1 26-Jul-2005
@@ -32,6 +33,10 @@
   marked a savepoint as invalid after its first use.  The implementation has
   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
 ----------------
 

Modified: ZODB/branches/3.4/src/ZODB/ExportImport.py
===================================================================
--- ZODB/branches/3.4/src/ZODB/ExportImport.py	2005-08-07 20:28:33 UTC (rev 37776)
+++ ZODB/branches/3.4/src/ZODB/ExportImport.py	2005-08-07 21:36:38 UTC (rev 37777)
@@ -72,7 +72,7 @@
         return_oid_list = []
         self._import = f, return_oid_list
         self._register()
-        t.savepoint()
+        t.savepoint(optimistic=True)
         # Return the root imported object.
         if return_oid_list:
             return self.get(return_oid_list[0])



More information about the Zodb-checkins mailing list