Commit e63c7275 authored by Jim Fulton's avatar Jim Fulton

Fixed: cache lastTid wasn't set when doing full verification

parent 6d05cc16
......@@ -1388,6 +1388,14 @@ class ClientStorage(object):
for oid, tid in self._cache.contents():
server.verify(oid, tid)
server.endZeoVerify()
if server_tid > self._cache.getLastTid():
# We verified the cache, and got no new invalidations
# while doing so. The records in the cache are valid,
# in that invalid current records were invalidated,
# but the last tid is wrong. Let's fix it:
self._cache.setLastTid(server_tid)
return "full verification"
def invalidateVerify(self, oid):
......
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