You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2024/07/30 05:55:00 UTC

[jira] [Updated] (HDDS-11251) Remove unused Ozone Trash API and proto definitions

     [ https://issues.apache.org/jira/browse/HDDS-11251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Andika updated HDDS-11251:
-------------------------------
    Labels: GoodForNewContributors newbie  (was: )

> Remove unused Ozone Trash API and proto definitions
> ---------------------------------------------------
>
>                 Key: HDDS-11251
>                 URL: https://issues.apache.org/jira/browse/HDDS-11251
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Ivan Andika
>            Priority: Minor
>              Labels: GoodForNewContributors, newbie
>
> 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 and storing the trash in keyTable / fileTable.
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org