[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.535.2.50

Jeremy Hylton jeremy@zope.com
Wed, 13 Nov 2002 15:19:46 -0500


Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv32477

Modified Files:
      Tag: Zope-2_6-branch
	CHANGES.txt 
Log Message:
Add short entries on all bugs except the deadlock bug, which seemed to
deserve longer notice.


=== Zope/doc/CHANGES.txt 1.535.2.49 => 1.535.2.50 ===
--- Zope/doc/CHANGES.txt:1.535.2.49	Wed Nov 13 14:18:41 2002
+++ Zope/doc/CHANGES.txt	Wed Nov 13 15:19:45 2002
@@ -8,6 +8,29 @@
 
     Bugs Fixed
 
+      - Deadlock prevention code added.
+
+        It was possible for earlier versions of ZODB to deadlock when
+        using multiple storages.  If multiple transactions committed
+        concurrently and both transactions involved two or more shared
+        storages, deadlock was possible.  This problem has been fixed
+        by introducing a sortKey() method to the transaction and
+        storage APIs that is used to define an ordering on transaction
+        participants.  This solution will prevent deadlocks provided
+        that all transaction participants that use locks define a
+        valid sortKey() method.  A warning is raised if a participant
+        does not define sortKey().  For backwards compatibility,
+        BaseStorage provides a sortKey() that uses __name__.
+
+      - Fixed bug in FileStorage related to object uncreation.  An
+        attempt to load an uncreated object now raises KeyError.
+
+      - Fixed conflict resolution bug that raised a NameError when a
+        class involved in a conflict could not be loaded.
+
+      - Fixed C extensions that included standard header files before
+        Python.h, which is not allowed.
+
       - Added code to ThreadedAsync/LoopCallback.py to work around a
         bug in asyncore.py: a handled signal can cause unwanted reads
         to happen.