[ 
https://issues.apache.org/jira/browse/HDDS-5349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bharat Viswanadham updated HDDS-5349:
-------------------------------------
    Component/s:     (was: Scale Test)

> Avoid usage of lock in listStatus
> ---------------------------------
>
>                 Key: HDDS-5349
>                 URL: https://issues.apache.org/jira/browse/HDDS-5349
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: OM
>            Reporter: Bharat Viswanadham
>            Assignee: Bharat Viswanadham
>            Priority: Major
>
>     // We don't take a lock in this path, since we walk the
>     // underlying table using an iterator. That automatically creates a
>     // snapshot of the data, so we don't need these locks at a higher level
>     // when we iterate.
> We have above snippet in listKeys, in listStatus also we use underlying table 
> iterator, when iterating, we might skip the lock



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to