[infinispan-issues] [JBoss JIRA] (ISPN-3204) Implement Last-Modified header returned by REST endpoint correctly
Martin Gencur (JIRA)
jira-events at lists.jboss.org
Fri Jun 7 05:27:54 EDT 2013
Martin Gencur created ISPN-3204:
-----------------------------------
Summary: Implement Last-Modified header returned by REST endpoint correctly
Key: ISPN-3204
URL: https://issues.jboss.org/browse/ISPN-3204
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.3.0.CR1
Reporter: Martin Gencur
Assignee: Galder Zamarreño
Fix For: 6.0.0.Final
As described in ISPN-3153, the Last-Modified HTTP header does not always return correct date/time of the last modification.
The goal of this JIRA is to fix this behaviour.
Explanation of the bug:
"Since immortal entries never die, we don't track creation time for them. We don't wanna be doing that either cos it takes valuable space that's might only be relevant for REST. In fact, we don't have anything that maps directly to last-modified per se. For transient entries, we track when the entry was last used (read or write) and for mortal entries, we track the creation time, which is not necessarily last modified time. Last-modified returns the expected value only when timeToLiveSeconds has been set and we're tracking creation time (mortal entry)."
--
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