incubator-doris [Bug] LRUCache::prune_if may not remove all the entries matching the predicate

t30tvxxf  于 2022-04-22  发布在  Java
关注(0)|答案(0)|浏览(107)

Search before asking

  • I had searched in the issues and found no similar issues.

Version

master

What's Wrong?

#6829 introduces a LRUCache::prune_if API but it's not implemented correctly.

What You Expected?

Remove all the cache entries matching the delete predicate.

How to Reproduce?

Can be simply reproduced by UT.

Anything Else?

  • No response*

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题