Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5349

Avoid usage of lock in listStatus

    XMLWordPrintableJSON

Details

    Description

      // 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

      Attachments

        Issue Links

          Activity

            People

              bharat Bharat Viswanadham
              bharat Bharat Viswanadham
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: