TTL cache's has? doesn't check existence of value in the underlying cache

Description

(extracted from the comments thread of the CCACHE-15)

In case TTL cache is wrapped around other cache capable of evicting values based on some logic (e. g., LRU cache) TTL's has? would return true until TTL period of the given key is expired even if the underlying cache doesn't contain the value.

Environment

None

Activity

Show:
Sean Corfield
March 2, 2018, 7:35 AM

Release 0.7.0

Ivan Kryvoruchko
March 1, 2018, 9:55 AM

Great, thanks!

Sean Corfield
March 1, 2018, 4:52 AM

Thank you Ivan! I plan to triage all open issues in the next week and resolve as many as I can, then I'll cut a new release.

Completed

Assignee

Sean Corfield

Reporter

Ivan Kryvoruchko

Labels

None

Approval

None

Patch

Code and Test

Priority

Major