[ 
https://issues.apache.org/jira/browse/HADOOP-9770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720283#comment-13720283
 ] 

Jing Zhao commented on HADOOP-9770:
-----------------------------------

Looks like the RetryCache#CacheEntry should use "the time the entry is added + 
the length of expiration period" as its expirationTime, instead of directly 
using "the length of expiration period" (otherwise all entries will have the 
same expiration time). I think we can include the fix in this jira. 
                
> RetryCache#state need not be volatile
> -------------------------------------
>
>                 Key: HADOOP-9770
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9770
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 2.1.0-beta
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>            Priority: Minor
>         Attachments: HADOOP-9770.patch
>
>
> See the comment - 
> https://issues.apache.org/jira/browse/HDFS-4979?focusedCommentId=13719111&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13719111

--
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

Reply via email to