[Zodb-checkins] CVS: ZODB3/Tools - fstest.py:1.6

Jeremy Hylton jeremy@zope.com
Tue, 24 Sep 2002 17:02:41 -0400


Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv5369

Modified Files:
	fstest.py 
Log Message:
Remove check for oid serialno matching transaction id.

This is no longer an invariant.  Storage methods like restore(),
abortVersion(), and commitVersion() can result in a serialno that does
not match the transaction id.


=== ZODB3/Tools/fstest.py 1.5 => 1.6 ===
--- ZODB3/Tools/fstest.py:1.5	Thu Aug  1 11:28:38 2002
+++ ZODB3/Tools/fstest.py	Tue Sep 24 17:02:41 2002
@@ -181,11 +181,6 @@
     plen = U64(_plen)
     dlen = DREC_HDR_LEN + (plen or 8)
 
-    if serial != tid:
-        raise FormatError("%s object serialno %s does not match"
-                          "transaction id %s" % (pos, hexify(serial),
-                                                 hexify(tid)))
-
     if vlen:
         dlen = dlen + 16 + vlen
         file.seek(8, 1)