[infinispan-issues] [JBoss JIRA] (ISPN-3786) REST server is treating timeToLiveSeconds=0 inconsistently

Jakub Markos (JIRA) jira-events at lists.jboss.org
Wed Dec 4 05:14:06 EST 2013


Jakub Markos created ISPN-3786:
----------------------------------

             Summary: 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



More information about the infinispan-issues mailing list