Unclear docs for TTL expiration #11787
Closed
Milestone
Comments
taburet
added a commit
to taburet/hazelcast
that referenced
this issue
Feb 20, 2018
taburet
added a commit
to taburet/hazelcast
that referenced
this issue
Feb 20, 2018
taburet
added a commit
that referenced
this issue
Feb 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the new eviction algorithm has been introduced (v3.7) the documentation suggests that the expiration based eviction only happens as part of the eviction sampling, which only occurs when the cache reaches its maximum size. I realised that it's not the case and in fact expiration happens independently from eviction.
The misleading points are:
time-to-live-seconds
andmax-idle-seconds
are explained under Map Eviction Configuration, and it doesn't say when these expirations get evaluatedthe fact that expiration based eviction is only mentioned here and it's referred as "lazy expiration" gives the false impression that it is the only point when expiration is being checked.
Could you please clarify this in the docs to give a clearer view on how expiration is working?
The text was updated successfully, but these errors were encountered: