[Zope-Checkins] CVS: Zope/lib/python/Products/TemporaryFolder - TemporaryFolder.py:1.7.6.1
Chris McDonough
chrism@zope.com
Wed, 28 May 2003 18:10:56 -0400
Update of /cvs-repository/Zope/lib/python/Products/TemporaryFolder
In directory cvs.zope.org:/tmp/cvs-serv5754
Modified Files:
Tag: Zope-2_6-branch
TemporaryFolder.py
Log Message:
Don't use a LowConflictConnection to back a TemporaryFolder. Data synchronization errors resulted from the use of a LowConflictConnection here; especially with respect to high-activity session writes.
=== Zope/lib/python/Products/TemporaryFolder/TemporaryFolder.py 1.7 => 1.7.6.1 ===
--- Zope/lib/python/Products/TemporaryFolder/TemporaryFolder.py:1.7 Wed Aug 14 18:25:13 2002
+++ Zope/lib/python/Products/TemporaryFolder/TemporaryFolder.py Wed May 28 18:10:55 2003
@@ -69,7 +69,11 @@
def _createDB(self, db=None): # huh? db=db was original
""" Create a mounted RAM database """
db = DB(TemporaryStorage())
- db.klass = LowConflictConnection
+ # the connection in 2.5.X - 2.6.1 was a "low conflict connection",
+ # but this caused synchronization problems. For 2.6.2, we want
+ # to reenable read conflict errors, so we use a default connection
+ # type.
+ #db.klass = LowConflictConnection
return db
def _getMountRoot(self, root):