[infinispan-issues] [JBoss JIRA] (ISPN-3786) REST server is treating timeToLiveSeconds=0 inconsistently
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon Dec 9 03:02:05 EST 2013
[ https://issues.jboss.org/browse/ISPN-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929387#comment-12929387 ]
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
More information about the infinispan-issues
mailing list