[infinispan-issues] [JBoss JIRA] Updated: (ISPN-858) MIMECacheEntry requires a version

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Tue Jan 4 11:58:42 EST 2011


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

Galder Zamarreño updated ISPN-858:
----------------------------------

        Summary: MIMECacheEntry requires a version  (was: Calculated ETag not accurate enough)
    Description: ETag calculation requires MIMECacheEntry to carry a version similar to HotRod/Memcached in order to avoid collisions with closely followed updates.  (was: MIMECacheEntry's lastModified attribute only has second accuracy, so you updates that are performed in same second where content type and length stays the same, a collision occurs - ETag stays the same although the values are not identical.)


ISPN-713 has made this issue more easily reproducable, but the underlying reason is that as per strong ETag rules in, http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.3.3, after each modification the ETag must be different, so relying on time, content type and data length is not good enough.

> MIMECacheEntry requires a version
> ---------------------------------
>
>                 Key: ISPN-858
>                 URL: https://issues.jboss.org/browse/ISPN-858
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cache Server
>    Affects Versions: 4.2.0.Final, 5.0.0.ALPHA1
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 4.2.1.Final, 5.0.0.BETA1
>
>
> ETag calculation requires MIMECacheEntry to carry a version similar to HotRod/Memcached in order to avoid collisions with closely followed updates.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list