[
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: [email protected]
For additional commands, e-mail: [email protected]