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

OmKeyInfo#acls and WithMetadata#metadata are not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • OM

    Description

      XiChen pointed out in this comment that OMKeyInfo#copyObject is just a shallow copy. It is not thread safe since OmKeyInfo#acls is just an ArrayList.

      Similarly, WithMetadata#metadata is also not thread safe.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: