[infinispan-issues] [JBoss JIRA] (ISPN-3204) Implement Last-Modified header returned by REST endpoint correctly

Galder Zamarreño (JIRA) issues at jboss.org
Tue Jun 19 07:47:00 EDT 2018


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

Galder Zamarreño resolved ISPN-3204.
------------------------------------
    Resolution: Out of Date


> 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
>          Components: Remote Protocols
>    Affects Versions: 5.3.0.CR1, 6.0.0.Final
>            Reporter: Martin Gencur
>            Assignee: Galder Zamarreño
>              Labels: Server
>
> 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 was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list