You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also an internal do_upsert_with_hash method should check whether the existing entry is expired or not. If expired, it should skip to call the update closure.
As of now (commit #f7a15e24), the following issues might be present with the eviction handler:
invalidate
an existing entry will always trigger the eviction handler withRemovalCause::Explicit
.RemovalCause::Expired
.invalidate_all
.RemovalCause::Replaced
.RemovalCause::Replaced
orRemovalCause::Expired
based on the expiration status of the entry.For 1-a and 2-a, see
moka
's this unit test: moka sync/cache.rs#L4270-L4280The text was updated successfully, but these errors were encountered: