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

Potential data loss on multipart upload commit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.5.0, 1.0.0, 1.1.0
    • 1.2.0
    • OM

    Description

      In case mutlipart upload completion with unused parts, and the key is not first created (some previous versions in deletion table), the committed live version of OmKeyInfo is added to deletion table. The key will be live until the deletion service collects the blocks, but after blocks deleted, the key metadata will be visible from user API while the blocks are already deleted.

      This potential bug has been resident since HDDS-2395, as long as I searched the Git history. (I have just found this issue during the code review, so I have not yet reproduced manually and I may miss other code.) I'll post an instant patch later.

      Attachments

        Issue Links

          Activity

            People

              kuenishi UENISHI Kota
              kuenishi UENISHI Kota
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: