[Zope3-checkins] CVS: Zope3/src/zodb/storage - bdbfull.py:1.6

Barry Warsaw barry@wooz.org
Tue, 31 Dec 2002 12:13:32 -0500


Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv26264

Modified Files:
	bdbfull.py 
Log Message:
_dopack(): Added an XXX about a potential race conditional that I need
to fix.  I want to try to write a test case for that first, although
it'll be a little tricky.


=== Zope3/src/zodb/storage/bdbfull.py 1.5 => 1.6 ===
--- Zope3/src/zodb/storage/bdbfull.py:1.5	Mon Dec 30 18:54:12 2002
+++ Zope3/src/zodb/storage/bdbfull.py	Tue Dec 31 12:13:31 2002
@@ -1356,6 +1356,9 @@
         self.log('classic pack finished')
 
     def _dopack(self, t, gc=True):
+        # XXX race condition warning.  See _dopack() in bdbminimal.py for
+        # details.
+        #
         # t is a TimeTime, or time float, convert this to a TimeStamp object,
         # using an algorithm similar to what's used in FileStorage.  We know
         # that our transaction ids, a.k.a. revision ids, are timestamps.