Ashish Kumar created HDDS-15104:
-----------------------------------

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


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]

Reply via email to