]
Dan Berindei resolved ISPN-3786.
--------------------------------
Resolution: Done
I created ISPN-3851 for the missing tests.
REST server is treating timeToLiveSeconds=0 inconsistently
----------------------------------------------------------
Key: ISPN-3786
URL:
https://issues.jboss.org/browse/ISPN-3786
Project: Infinispan
Issue Type: Bug
Components: Remote protocols
Reporter: Jakub Markos
Assignee: Galder ZamarreƱo
Fix For: 6.0.1.Final, 7.0.0.Final, 7.0.0.Alpha1
The REST server currently handles 0 values for timeToLiveSeconds and maxIdleTimeSeconds
like this:
||timeToLiveSeconds||maxIdleTimeSeconds||used lifespan||used maxIdle||
|0|0|default from config|default from config|
|nothing or >0|0|whatever came or -1|default from config|
|0|nothing or >0|literally 0(*entry expires immediately*)|whatever came or -1|
After discussion with Galder, the last line doesn't really make sense, and the better
way would be to use default for timeToLive as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: