[Zope-Annce] DirectoryStorage 1.1.2
Toby Dickenson
tdickenson@geminidataloggers.com
Sun, 18 May 2003 16:29:11 +0100
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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=
t=20
their convenience.
Problem Details:
Under high write pressure it was possible for DirectoryStorage to neglect t=
o=20
flush all necessary files into the main storage directory when entering=20
snapshot mode. This could happen if a transaction is committed concurrently=
=20
with entry to snapshot mode. The effects of this bug include incomplete=20
backups, incomplete replicas, and spurious errors when packing.
Mitigating factors:
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
you?
3. A backup/replica may be corrupt due to a missing file.
Any missing file will certainly be included the next
backup/replica.
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
packing.
Download:=20
http://sourceforge.net/project/showfiles.php?group_id=3D53818&release_id=3D=
160099
This bug was detected using a recent unit test added to ZODB by Jeremy to t=
est=20
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)
iD8DBQE+x6bf99Pa/DbwZfsRAhQ9AJwMnVad/0hrM+iOPUEvRKTADB3ODwCeODV+
gBx4bwjiXETZRmxEpKrkz+Q=3D
=3DOTzE
=2D----END PGP SIGNATURE-----