Peter Lee created HDDS-12810:
--------------------------------

             Summary: KeyValueHandler and ContainerImporter should use same 
instance of `VolumeChoosingPolicy`
                 Key: HDDS-12810
                 URL: https://issues.apache.org/jira/browse/HDDS-12810
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Peter Lee
            Assignee: Peter Lee
             Fix For: 2.1.0


KeyValueHandler and ContainerImporter have its owner VolumeChoosingPolicy 
instances. As the VolumeChoosingPolicy is decided by same 
"hdds.datanode.volume.choosing.policy" property, so KeyValueHandler and 
ContainerImporter can use the same VolumeChoosingPolicy instance.

 

The choosing policy is should initialized in {{DatanodeStateMachine and pass 
the instance to both KeyValueHandler and ContainerImporter.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to