[ 
https://issues.apache.org/jira/browse/HDDS-1802?focusedWorklogId=278571&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-278571
 ]

ASF GitHub Bot logged work on HDDS-1802:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Jul/19 23:01
            Start Date: 17/Jul/19 23:01
    Worklog Time Spent: 10m 
      Work Description: arp7 commented on pull request #1100: HDDS-1802. Add 
Eviction policy for table cache.
URL: https://github.com/apache/hadoop/pull/1100#discussion_r304676698
 
 

 ##########
 File path: 
hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/cache/TableCacheImpl.java
 ##########
 @@ -103,4 +118,48 @@ private void evictCache(long epoch) {
       }
     }
   }
+
+  public CacheResult<CACHEVALUE> isExist(CACHEKEY cachekey) {
 
 Review comment:
   This method looks great!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 278571)
    Time Spent: 3.5h  (was: 3h 20m)

> Add Eviction policy for table cache
> -----------------------------------
>
>                 Key: HDDS-1802
>                 URL: https://issues.apache.org/jira/browse/HDDS-1802
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> In this Jira we will add eviction policy for table cache.
> In this Jira, we will add 2 eviction policies for the cache.
> NEVER, // Cache will not be cleaned up. This mean's the table maintains full 
> cache.
> AFTERFLUSH // Cache will be cleaned up, once after flushing to DB.
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to