Commit d43bd510 authored by Julien Muchembled's avatar Julien Muchembled

client: remove obsolete comment in Storage.load

See commit c277ed20
("client: really process all invalidations in poll thread").
parent 50a6cf41
...@@ -75,13 +75,6 @@ class Storage(BaseStorage.BaseStorage, ...@@ -75,13 +75,6 @@ class Storage(BaseStorage.BaseStorage,
return self.app._cache return self.app._cache
def load(self, oid, version=''): def load(self, oid, version=''):
# In order to know if it was safe to get the last revision of an object
# instead of using loadBefore(), ZODB.Connection._setstate relies on
# the fact that retrieving data from a remote storage forces incoming
# invalidations to be received.
# But in NEO, invalidations are not received from the same network
# connection that the one used to retrieve data.
# So we must implement load() like a loadBefore().
# XXX: interface definition states that version parameter is # XXX: interface definition states that version parameter is
# mandatory, while some ZODB tests do not provide it. For now, make # mandatory, while some ZODB tests do not provide it. For now, make
# it optional. # it optional.
......
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