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

Remove unused Ozone Trash API and proto definitions

    XMLWordPrintableJSON

Details

    Description

      HDDS-2416 was proposed as a OM trash feature that uses a separate "trash table" to store the deleted keys which will be sent to deletedTable when the key has been deleted longer than a "recovery period". However, this feature was never finished and later superseded by HDDS-3367 which implements trash similar to HDFS by moving it to a trash directory.

      We can remove the unused trash APIs and the associated protobuf definitions. These includes:

      • listTrash
      • recoverTrash

      In my opinion, we can remove this directly since these APIs do not do anything and should not be used by anyone. However, we can also mark it as deprecated first in the next release before removing it in the subsequent release.

      Attachments

        Issue Links

          Activity

            People

              abhishek.pal Abhishek Pal
              ivanandika Ivan Andika
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: