You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/02/24 13:00:00 UTC
[jira] [Resolved] (HDDS-7890) Refactor ContainerDeletionChoosingPolicy implementations
[ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org