Details
-
Bug
-
Resolution: Done
-
Major
-
12.1.2.Final
-
DataGrid Sprint #58, DataGrid Sprint #61, DataGrid Sprint #62, DataGrid Sprint #63, DataGrid Sprint #64
-
Documentation (Ref Guide, User Guide, etc.)
-
Undefined
Description
Statement is wrong:
If (creation + lifespan > currentTime) or (lastUsed + maxIdle > currentTime) then Infinispan detects that the entry is expired."
Should be:
If (creation + lifespan < currentTime) or (lastUsed + maxIdle < currentTime)
example:
cretated at 1.1.2021 lifespan 1 month will expire
(1.1.2021 + 1M == 1.2.2021) < 10.1.2021 -> not expired
(1.1.2021 + 1M == 1.2.2021) < 2.2.2021 -> expired