Commit b793437a authored by Jim Fulton's avatar Jim Fulton

remove a race when checking whether we need to update the cache tid after verification.

parent 20f81caa
......@@ -1390,6 +1390,7 @@ class ClientStorage(object):
server.verify(oid, tid)
server.endZeoVerify()
with self._lock:
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,
......
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