[
https://issues.apache.org/jira/browse/HDDS-7890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-7890.
------------------------------------
Fix Version/s: 1.4.0
Resolution: Implemented
> Refactor ContainerDeletionChoosingPolicy implementations
> --------------------------------------------------------
>
> Key: HDDS-7890
> URL: https://issues.apache.org/jira/browse/HDDS-7890
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Attila Doroszlai
> Assignee: Ivan Andika
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> {{ContainerDeletionChoosingPolicy}} has two implementations currently:
> {{RandomContainerDeletionChoosingPolicy}} and
> {{TopNOrderedContainerDeletionChoosingPolicy}}. These two differ only in the
> order they apply to the incoming list of containers (random shuffle vs. sort
> by number of blocks to be deleted).
> The goal of this task is to reduce code duplication by extracting common code
> into an abstract base class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]