Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Implemented
-
None
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.