• Julien Muchembled's avatar
    client: revert incorrect memory optimization · 763806e0
    Julien Muchembled authored
    Since commit d2d77437 ("client: make the cache
    tolerant to late invalidations when the entry is in the history queue"),
    invalidated items became current again when they were moved to the history
    queue, which was wrong for 2 reasons:
    - only the last items of _oid_dict values may have next_tid=None,
    - and for such items, they could be wrongly reused when caching the real
      current data.
    763806e0
cache.py 11.3 KB