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

Mircea Markus (JIRA) issues at jboss.org
Mon Mar 31 12:22:13 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mircea Markus updated ISPN-3786:
--------------------------------

    Labels: 630  (was: )

    
> 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
>              Labels: 630
>             Fix For: 6.0.1.Final, 7.0.0.Alpha1, 7.0.0.Final
>
>
> 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