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

Ozone Trash Feature

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      This Jira is a proposal to add a new feature to Ozone that provides a user with the ability to recover keys that may have been deleted accidentally.  This would be similar to the HDFS trash feature.

      The attached document outlines the proposal and considerations for this feature.

      And this Question-Doc is addressed for question related to the feature,
      it would be continuously updated, please feel free to updated it.
      (Or let us know the question, and we would update it, thanks)

        Attachments

        1. Ozone_Trash_Feature.docx
          17 kB
          Matthew Sharp

          Issue Links

          1.
          Add the list trash command to the client side Sub-task Resolved Matthew Sharp

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20m
          2.
          Add the list trash command server side handling. Sub-task Resolved Matthew Sharp

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20m
          3.
          Add the core logic to process list trash command. Sub-task In Progress Matthew Sharp  
          4.
          Ozone Manager - New Metrics for Trash Key Lists and Fails Sub-task Resolved Matthew Sharp

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20m
          5.
          Add the Ozone shell support for list-trash command. Sub-task Open Matthew Sharp  
          6.
          Add documentation for list trash command. Sub-task Open Matthew Sharp  
          7.
          Add robot tests for list-trash command. Sub-task Open Matthew Sharp  
          8.
          Add the recover-trash command client side code Sub-task Resolved Yi-Sheng Lien

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20m
          9.
          Add the recover-trash command server side handling. Sub-task Resolved Yi-Sheng Lien

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          10.
          Support recover-trash to an existing bucket. Sub-task In Progress Yi-Sheng Lien  
          11.
          Support the ability to recover-trash to a new bucket. Sub-task Open Yi-Sheng Lien  
          12.
          Allow existing buckets to enable trash ability. Sub-task Open Yi-Sheng Lien  
          13.
          Ozone Manager - New Metrics for Trash Key Recover and Fails Sub-task Open Yi-Sheng Lien  
          14.
          Rename a recovered file as .recovered if the file already exists in the target bucket. Sub-task Open Yi-Sheng Lien  
          15.
          Recover-trash should warn and skip if the key is GDPR-ed key that recovery is pointless since the encryption keys are lost. Sub-task Open Yi-Sheng Lien  
          16.
          Recover-trash should warn and skip if at-rest encryption is enabled and keys are missing. Sub-task Open Yi-Sheng Lien  
          17.
          Add recover-trash command to the ozone shell. Sub-task Open Yi-Sheng Lien  
          18.
          Add robot tests for recover-trash command. Sub-task Open Yi-Sheng Lien  
          19.
          Add documentation for the recover-trash Sub-task Open Yi-Sheng Lien  
          20.
          Add client side support for the empty-trash command. Sub-task Open Matthew Sharp  
          21.
          Add server side support for empty-trash command. Sub-task Open Matthew Sharp  
          22.
          Add the ability to disable empty-trash command. Sub-task Open Matthew Sharp  
          23.
          Add security profile support for empty-trash command Sub-task Open Matthew Sharp  
          24.
          Restrict empty-trash to admins and owners only Sub-task Open Matthew Sharp  
          25.
          Add the core logic for empty-trash Sub-task Open Matthew Sharp  
          26.
          Ozone Manager - New Metrics for Trash Key Empty and Fails Sub-task Open Matthew Sharp  
          27.
          Add robot tests for empty-trash as owner. Sub-task Open Matthew Sharp  
          28.
          Add empty-trash to ozone shell. Sub-task Open Matthew Sharp  
          29.
          Add documentation for Empty-Trash command. Sub-task Open Matthew Sharp  
          30.
          Add the ability to get the list of buckets that are deleted Sub-task Open Matthew Sharp  
          31.
          Add nullable annotation for client and server side of trash service Sub-task Open Yi-Sheng Lien  

            Activity

              People

              • Assignee:
                MatthewSharp Matthew Sharp
                Reporter:
                MatthewSharp Matthew Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h