[Zodb-checkins] CVS: ZEO - CHANGES.txt:1.32

Guido van Rossum guido@python.org
Wed, 4 Sep 2002 14:42:07 -0400


Update of /cvs-repository/ZEO
In directory cvs.zope.org:/tmp/cvs-serv16688

Modified Files:
	CHANGES.txt 
Log Message:
Added summary of all changes since 2.0b1 was released, AFAIK.


=== ZEO/CHANGES.txt 1.31 => 1.32 ===
--- ZEO/CHANGES.txt:1.31	Fri Aug 23 10:09:08 2002
+++ ZEO/CHANGES.txt	Wed Sep  4 14:42:07 2002
@@ -1,5 +1,67 @@
 Revision History, Zope Enterprise Objects, version 2
 
+  ZEO 2.0 beta 2
+
+    The changes since ZEO 2.0b1 release are:
+
+      - Fixed performance problem differently.
+
+        Some low-level socket code was rewritten again to batch short
+        messages and chunk long ones even more efficiently, as
+        suggested by Toby Dickenson.
+
+      - Client cache bugs fixed.
+
+        Fixed several bugs in the client cache code that caused the
+        cache to be less effective than it should.  In particular:
+
+	= the code to select the most recent current persistent
+	  cache file was broken due to a wrong seek offset;
+
+	= the code to write a byte to a record to invalidate it was
+	  broken due to a wrong seek call;
+
+	= on a cache file flip, the index data for the cache file
+	  that's being overwritten wasn't cleared out.
+
+      - Client cache code cleanup.
+
+        The doc string was updated to provide more and more accurate
+        information; other minor coding style improvements include
+        logging a message at the INFO level whenever a broken cache
+        record is detected.  Cache flips and non-trivial read_index()
+        statistics are also logged.
+
+      - Client cache trace option.
+
+        Setting the environment variable ZEO_CACHE_TRACE to point to a
+        (writable) file writes a detailed trace of cache requests to
+        that file.  The stats.py program can be used to analyze this
+        trace file.
+
+      - Fixed handling of closed connections in the server.
+
+        When a client disconnected, the storage server wasn't properly
+        calling the strategy's tpc_abort, so it wasn't properly
+        restarting another transaction that might possibly be waiting.
+
+      - Other code cleanup and small bugfixes.
+
+        Renamed some methods.  Removed some unused variables,
+        functions, methods and files.  Added some explanatory
+        comments.  Added some asserts.  Whitespace cleanup.
+        ClientStorage.close() is now idempotent.  Fixed a bug in
+        undo().  ImmediateCommitStrategy.store() only catches
+        exceptions that inherit from Exception.  Added missing import
+        of DecodingError in zrpc/marshal.py.
+
+      - Optimized cache opening.
+
+	ClientStorage opens the cache later to avoid "opening" it
+	twice when a connection is available right away.
+
+      - Added a modest unit test suite for the client cache.
+
   ZEO 2.0 beta 1
 
     The changes since ZEO 2.0a1 release are: