[
https://issues.apache.org/jira/browse/HDDS-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham updated HDDS-1985:
-------------------------------------
Target Version/s: 0.5.0
> Fix listVolumes API
> -------------------
>
> Key: HDDS-1985
> URL: https://issues.apache.org/jira/browse/HDDS-1985
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
>
> This Jira is to fix lisVolumes 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, later it will be picked by double buffer thread and
> it will flush to disk. So, now when do listVolumes, it should use both
> in-memory cache and rocksdb volume table to list volumes for a user.
>
> No fix is required for this, as the information is retrieved from the MPU Key
> table, this information is not retrieved through RocksDB Table iteration. (As
> when we use get() this checks from cache first, and then it checks table)
>
> Used this Jira to add an integration test to verify the behavior.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]