[
https://issues.apache.org/jira/browse/HDDS-11251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated HDDS-11251:
-------------------------------
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 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.
was:
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.
> 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
> Components: OM, Ozone Client
> 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 by moving it 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]