Commit 5072a3fe authored by Jim Fulton's avatar Jim Fulton

Fixed bug:

  Packing could return spurious errors due to errors notifying
  disconnected clients of new database size statistics.
parent 4c747b1b
...@@ -31,6 +31,9 @@ Bugs Fixed ...@@ -31,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:
pass
elif info is not None: elif info is not None:
p.client.info(info) p.client.info(info)
except ZEO.zrpc.error.DisconnectedError:
pass
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