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

Ivan Andika updated HDDS-13824:
-------------------------------
    Description: Currently OzoneTrashPolicy (and previously TrashPolicyOzone) 
overrides TrashPolicyDefault. However, there does not seem to be any dependency 
with TrashPolicyDefault. Additionally, TrashPolicyDefault might introduce some 
incompatible changes (e.g. to cater for HDFS) which can affect Ozone trash 
policy. Therefore, we should consider implementing TrashPolicy interface 
instead of subclassing TrashPolicyDefault.  (was: Currently OzoneTrashPolicy 
(and previously TrashPolicyOzone) overrides TrashPolicyDefault. However, there 
does not seem to be any dependency with TrashPolicyDefault. Therefore, we 
should consider implementing TrashPolicy interface instead of subclassing 
TrashPolicyDefault.)

> OzoneTrashPolicy should implement TrashPolicy instead of subclassing 
> TrashPolicyDefault
> ---------------------------------------------------------------------------------------
>
>                 Key: HDDS-13824
>                 URL: https://issues.apache.org/jira/browse/HDDS-13824
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Ivan Andika
>            Assignee: Ivan Andika
>            Priority: Major
>
> Currently OzoneTrashPolicy (and previously TrashPolicyOzone) overrides 
> TrashPolicyDefault. However, there does not seem to be any dependency with 
> TrashPolicyDefault. Additionally, TrashPolicyDefault might introduce some 
> incompatible changes (e.g. to cater for HDFS) which can affect Ozone trash 
> policy. Therefore, we should consider implementing TrashPolicy interface 
> instead of subclassing TrashPolicyDefault.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to