Bug #9333
Updated by Loïc Dachary over 9 years ago
The "SharedLRU unittests":https://github.com/ceph/ceph/pull/2386 fail on <pre> ceph::shared_ptr<int> ptr = cache.add(key, new int(value)); ASSERT_TRUE(cache.lookup(key)); cache.clear(key); ASSERT_FALSE(cache.lookup(key)); </pre> The Where the second lookup returns a valid shared_ptr where one would expect it to be cleared from the cache by the previous .clear()