You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/06/15 10:45:00 UTC
[jira] [Created] (HDDS-5349) Avoid usage of lock in listStatus
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org