You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/23 03:19:00 UTC

[jira] [Updated] (HDDS-7890) Refactor ContainerDeletionChoosingPolicy implementations

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

ASF GitHub Bot updated HDDS-7890:
---------------------------------
    Labels: pull-request-available  (was: )

> 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
>
> {{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