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 2026/04/28 08:54:00 UTC

[jira] [Resolved] (HDDS-15104) Refactor code related to container tracker

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

Attila Doroszlai resolved HDDS-15104.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Implemented

> Refactor code related to container tracker
> ------------------------------------------
>
>                 Key: HDDS-15104
>                 URL: https://issues.apache.org/jira/browse/HDDS-15104
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ashish Kumar
>            Assignee: Ashish Kumar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.2.0
>
>         Attachments: 10124_review.patch
>
>
> Refactor below code
>  * Remove DatanodeBuckets map. Add TwoWindowBucket to DatanodeInfo
>  * Remove containerSize parameter from pipelineManager.hasEnoughSpace(pipeline, containerSize)).
>  * Remove the DatanodeDetails parameter from hasEffectiveAllocatableSpaceForNewContainer(..) since datanodeInfo already has all the information.
>  * PendingContainerTracker should use only DatanodeID and DatanodeInfo but never DatanodeDetails.



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