[Zodb-checkins] CVS: ZODB3 - NEWS.txt:1.33.6.17

Tim Peters tim.one at comcast.net
Fri Jan 16 14:18:21 EST 2004


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

Modified Files:
      Tag: Zope-2_7-branch
	NEWS.txt 
Log Message:
Backport "redundant pack" fix from the HEAD:  if you try to pack to a time
earlier than a .fs was previously packed to, the attempt shouldn't do
anything (except raise an exception).  It was trying to pack to the
earlier time anyway, but pack's reachability traversal can't work
correctly then due to the "missing" revisions in the gap between the
pack times, and the packed .fs could lose live data as a result.


=== ZODB3/NEWS.txt 1.33.6.16 => 1.33.6.17 ===
--- ZODB3/NEWS.txt:1.33.6.16	Wed Jan 14 14:45:47 2004
+++ ZODB3/NEWS.txt	Fri Jan 16 14:17:50 2004
@@ -2,6 +2,20 @@
 ================================
 Release-date: XX-XXX-2004
 
+FileStorage
+-----------
+
+Fixed a serious bug in the new pack implementation.  If pack was
+called on the storage and passed a time earlier than a previous pack
+time, data could be lost.  In other words, if there are any two pack
+calls, where the time argument passed to the second call was earlier
+than the first call, data loss could occur.  The bug was fixed by
+causing the second call to raise a StorageError before performing any
+work.
+
+ZEO
+---
+
 Fixed a bug in the ZEO server's getInvalidations() method.  If it had
 the requested invalidations, it would send all the invalidations in
 its queue rather than just the requested ones.  This didn't affect
@@ -38,7 +52,7 @@
 
 Several bare string exceptions were changed to raise exception
 objects.  All these exceptions were in fairly obscure parts of the
-code. 
+code.
 
 Bug fix for Acquisition in ExtensionClass.  Zope Collector #1056:
 aq_acquire() ignored the default argument.
@@ -108,7 +122,7 @@
 This version of ZODB 3.2 is not compatible with Python 2.1.  Early
 versions were explicitly designed to be compatible with Zope 2.6.
 That plan has been dropped, because Zope 2.7 is already in beta
-release. 
+release.
 
 Several of the classes in ZEO and ZODB now inherit from object, making
 them new-style classes.  The primary motivation for the change was to
@@ -285,7 +299,7 @@
 
 The ZODB cache has fewer methods.  It used to expose methods that
 could mutate the dictionary, which allowed users to violate internal
-invariants. 
+invariants.
 
 ZConfig
 -------
@@ -306,7 +320,6 @@
 release is incomplete, but provides more guidance than previous
 releases.  See the file Doc/ZEO/howto.txt.
 
-
 The ZEO storage server's transaction timeout feature was refactored
 and made slightly more rebust.
 
@@ -436,7 +449,7 @@
 restarting clients.
 
 The ZEO cache verification protocol was revised to require many fewer
-messages in cases where a client or server restarts quickly.  
+messages in cases where a client or server restarts quickly.
 
 The performance of full cache verification has improved dramatically.
 XXX Get measurements from Jim -- somewhere in 2x-5x recall.  The




More information about the Zodb-checkins mailing list