otter
otter copied to clipboard
[BUG] t.isDelete() and t.isExpired() in onWrite func won't increase evicted count
Description
t.isDelete() and t.isExpired() in onWrite func won't increase evicted count
To Reproduce
Just check the source codes.
Expected behavior
t.isDelete() and t.isExpired() in onWrite func just delete an expired node but they should also increase the evicted count?
Environment
- OS: ubuntu 20.04