[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientStorage.py:1.35.6.4
Jeremy Hylton
jeremy@zope.com
Wed, 16 Jan 2002 20:43:32 -0500
Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv14546
Modified Files:
Tag: Standby-branch
ClientStorage.py
Log Message:
Fiddle XXX comments.
=== StandaloneZODB/ZEO/ClientStorage.py 1.35.6.3 => 1.35.6.4 ===
self._cache = ClientCache.ClientCache(storage, cache_size,
client=client, var=var)
- self._cache.open() # XXX open now?
+ self._cache.open() # XXX open now? or later?
self._rpc_mgr = ConnectionManager(addr, self,
tmin=min_disconnect_poll,
@@ -170,7 +170,7 @@
# XXX What if we can only get a read-only connection and we
# want a read-write connection? Looks like the current code
- # will block forever.
+ # will block forever. (Future feature)
if wait_for_server_on_startup:
self._rpc_mgr.connect(sync=1)
else:
@@ -509,7 +509,7 @@
def undoLog(self, first, last, filter=None):
if filter is not None:
- return () # XXX can't pass a filter to server
+ return () # can't pass a filter to server
return self._server.undoLog(first, last) # Eek!
@@ -533,6 +533,7 @@
self._pickler.fast = 1 # Don't use the memo
def invalidate(self, args):
+ # Queue an invalidate for the end the transaction
if self._pickler is None:
return
self._pickler.dump(args)