Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4944 Multi-Tenant Support in Ozone
  3. HDDS-6063

[Multi-Tenant] Use VOLUME_LOCK in read and write requests, and some minor refactoring

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDDS-4944
    • HDDS-4944
    • None

    Description

      1. We have decided to use the existing VOLUME_LOCK for multi tenant read and write requests, instead of adding a new lock. We should check that all write requests are using this lock properly, and add it to read requests as necessary.

      2. We must also fix read requests which are iterating keys to check both the cache and DB.

      3. Some minor refactoring, as mentioned in the PR description: https://github.com/apache/ozone/pull/3051

      Attachments

        Issue Links

          Activity

            People

              smeng Siyao Meng
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: