Subject: CVS commit: pkgsrc/databases/py-ZODB
To: None <pkgsrc-changes@NetBSD.org>
From: Marc Recht <recht@netbsd.org>
List: pkgsrc-changes
Date: 03/03/2004 16:38:16
Module Name:	pkgsrc
Committed By:	recht
Date:		Wed Mar  3 16:38:16 UTC 2004

Modified Files:
	pkgsrc/databases/py-ZODB: Makefile PLIST distinfo

Log Message:
update to 3.2.1
provided by Michal Pasternak in PR 24657

What's new in ZODB3 3.2.1?
==========================
Release-date: 12-Feb-2004

The storage comparison matrix (Doc/storages.html) was updated.  It
now has current information about Adaptable Persistence (Ape):
http://hathaway.freezope.org/Software/Ape.

What's new in ZODB3 3.2.1 release candidate 1?
==============================================
Release-date: 20-Jan-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 authentication implementation that could cause
a properly authenticated connection to fail unexpectedly with a
ValueError -- "Received message without HMAC."

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
correctness of the cache, but did cause it to throw out valid data.

Fixed a bug that prevented the -m / --monitor argument from working.

Fixed and enhanced the zeopasswd.py script.  It now runs as a script
and supports command-line arguments for all the options that can be
specified in the configuration file.

What's new in ZODB3 3.2.1 beta 1
================================
Release-date: 18-Nov-2003

This code in this release should be identical to the code in Zope
2.7.0 beta 3.

Changed the ZEO server and control process to work with a single
configuration file; this is now the default way to configure these
processes.  (It's still possible to use separate configuration files.)
The ZEO configuration file can now include a "runner" section used by
the control process and ignored by the ZEO server process itself.  If
present, the control process can use the same configuration file.

Fixed a performance problem in the logging code for the ZEO protocol.
The logging code could call repr() on arbitrarily long lists, even
though it only logged the first 60 bytes; worse, it calls repr() even
if logging is currently disabled.  Fixed to call repr() on individual
elements until the limit is reached.

ReadConflictErrors have an experimental new method, ignore().  If a
database connection raises a read conflict, the current transaction
was eventually be aborted.  If the ignore() method is called, it will
allow a transaction to commit after receiving a read conflict.  This
method should be used with great care, because ignoring read conflicts
may allow inconsistent data to be written to the database.

Several bare string exceptions were changed to raise exception
objects.  All these exceptions were in fairly obscure parts of the
code.

Bug fix for Acquisition in ExtensionClass.  Zope Collector #1056:
aq_acquire() ignored the default argument.

The zdaemon.Daemon module was removed, because it is no longer used by
zdaemon.

The ZEO test suite is more robust.  A variety of small changes were
made that make it less likely to fail on slow or loaded machines.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/databases/py-ZODB/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/databases/py-ZODB/PLIST
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/databases/py-ZODB/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.