[Zope-Annce] DirectoryStorage 1.1.2
Sun, 18 May 2003 16:29:11 +0100
=2D----BEGIN PGP SIGNED MESSAGE-----
Announcing the release of DirectoryStorage 1.1.2
A serious bug has been discovered in all previous versions. Version 1.1.2=20
contains a fix, and no other changes. All users are encouraged to upgrade a=
Under high write pressure it was possible for DirectoryStorage to neglect t=
flush all necessary files into the main storage directory when entering=20
snapshot mode. This could happen if a transaction is committed concurrently=
with entry to snapshot mode. The effects of this bug include incomplete=20
backups, incomplete replicas, and spurious errors when packing.
1. This does not corrupt the main storage, although it can
lead to corrupt backups or replicas.
2. The corruption will certainly be detected by checkds. You
do run checkds on a snapshot before taking a backup, dont
3. A backup/replica may be corrupt due to a missing file.
Any missing file will certainly be included the next
4. I believe that the problems with backup and replication
cant happen when the storage is inside a ZEO server,
thanks to ZEO's threading architecture. DirectoryStorage
inside ZEO is still vulnerable to spurious errors when
This bug was detected using a recent unit test added to ZODB by Jeremy to t=
a FileStorage corner case. Anyone wanting to repeat these unit tests will=20
need the CVS trunks of both projects.
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
=2D----END PGP SIGNATURE-----