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
Is there a way to differentiate between TTL and cost based evictions? The &Item returned from the onEvict callback has only the Key, Conflict, Value and Cost fields populated, making it impossible to identify what triggered the eviction.
If not, is there a plan for implementing this feature?
A possible solution would be to set the Item.Expiration when evicting the item, so that the cost based eviction would still have some time left.
The text was updated successfully, but these errors were encountered:
Question.
Is there a way to differentiate between TTL and cost based evictions? The
&Item
returned from theonEvict
callback has only theKey
,Conflict
,Value
andCost
fields populated, making it impossible to identify what triggered the eviction.If not, is there a plan for implementing this feature?
A possible solution would be to set the
Item.Expiration
when evicting the item, so that the cost based eviction would still have some time left.The text was updated successfully, but these errors were encountered: