[ https://issues.apache.org/jira/browse/HDDS-1987?focusedWorklogId=336439&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-336439 ]
ASF GitHub Bot logged work on HDDS-1987: ---------------------------------------- Author: ASF GitHub Bot Created on: 30/Oct/19 20:07 Start Date: 30/Oct/19 20:07 Worklog Time Spent: 10m Work Description: smengcl commented on pull request #108: HDDS-1987. Fix listStatus API URL: https://github.com/apache/hadoop-ozone/pull/108 ## What changes were proposed in this pull request? Fix listStatus API in HA code path. In HA, we have an in-memory cache, where we put the result to in-memory cache and return the response. It will be picked by double buffer thread and flushed to disk later. So when user call listStatus, it should use both in-memory cache and rocksdb key table to return the correct result. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-1987 ## How was this patch tested? 1. `TestOzoneFileSystem#testListStatus` passed (for correctness under no key cache table usage). 2. New unit test will be posted soon. ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 336439) Remaining Estimate: 0h Time Spent: 10m > Fix listStatus API > ------------------ > > Key: HDDS-1987 > URL: https://issues.apache.org/jira/browse/HDDS-1987 > Project: Hadoop Distributed Data Store > Issue Type: Sub-task > Reporter: Bharat Viswanadham > Assignee: Siyao Meng > Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > This Jira is to fix listStatus API in HA code path. > In HA, we have an in-memory cache, where we put the result to in-memory cache > and return the response. It will be picked by double buffer thread and > flushed to disk later. So when user call listStatus, it should use both > in-memory cache and rocksdb key table to return the correct result. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org