[
https://issues.jboss.org/browse/ISPN-3786?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-3786:
----------------------------------------
Fix integrated in infinispan/infinispan. More tests still need adding to server.
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
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:
http://www.atlassian.com/software/jira