Commit 769ee706 authored by Jim Fulton's avatar Jim Fulton

tag

parents 2c9d7202 5072a3fe
...@@ -20,7 +20,7 @@ to application logic. ZODB includes features such as a plugable storage ...@@ -20,7 +20,7 @@ to application logic. ZODB includes features such as a plugable storage
interface, rich transaction support, and undo. interface, rich transaction support, and undo.
""" """
VERSION = "3.9.0a11" VERSION = "3.9.0dev"
# The (non-obvious!) choices for the Trove Development Status line: # The (non-obvious!) choices for the Trove Development Status line:
# Development Status :: 5 - Production/Stable # Development Status :: 5 - Production/Stable
......
...@@ -2,6 +2,26 @@ ...@@ -2,6 +2,26 @@
Change History Change History
================ ================
3.9.0 (2009-??-??)
====================
New Features
------------
- The connection now estimates the object size based on its pickle size
and informs the cache about size changes.
The database got additional configurations options (`cache-size-bytes`
and `historical-cache-size-bytes`) to limit the
cache size based on the estimated total size of cached objects.
The default values are 0 which has the interpretation "do not limit
based on the total estimated size".
There are corresponding methods to read and set the new configuration
parameters.
XXX There are known issues with this implementation that need to be
sorted out before it is "released".
3.9.0a11 (2009-02-17) 3.9.0a11 (2009-02-17)
===================== =====================
...@@ -11,6 +31,9 @@ Bugs Fixed ...@@ -11,6 +31,9 @@ Bugs Fixed
- Packing a blob-enabled file storage in a ZEO server caused blob data - Packing a blob-enabled file storage in a ZEO server caused blob data
to be lost. to be lost.
- Packing could return spurious errors due to errors notifying
disconnected clients of new database size statistics.
3.9.0a10 (2009-01-05) 3.9.0a10 (2009-01-05)
===================== =====================
......
...@@ -1116,14 +1116,13 @@ class StorageServer: ...@@ -1116,14 +1116,13 @@ class StorageServer:
invq.insert(0, (tid, invalidated)) invq.insert(0, (tid, invalidated))
for p in self.connections.get(storage_id, ()): for p in self.connections.get(storage_id, ()):
if invalidated and p is not conn: try:
try: if invalidated and p is not conn:
p.client.invalidateTransaction(tid, invalidated) p.client.invalidateTransaction(tid, invalidated)
except ZEO.zrpc.error.DisconnectedError: elif info is not None:
pass p.client.info(info)
except ZEO.zrpc.error.DisconnectedError:
elif info is not None: pass
p.client.info(info)
def get_invalidations(self, storage_id, tid): def get_invalidations(self, storage_id, tid):
"""Return a tid and list of all objects invalidation since tid. """Return a tid and list of all objects invalidation since tid.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment