Bharat Viswanadham created HDDS-5349:
----------------------------------------
Summary: Avoid usage of lock in listStatus
Key: HDDS-5349
URL: https://issues.apache.org/jira/browse/HDDS-5349
Project: Apache Ozone
Issue Type: Improvement
Reporter: Bharat Viswanadham
Assignee: Bharat Viswanadham
// 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]