[
https://issues.apache.org/jira/browse/HDDS-12810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Lee updated HDDS-12810:
-----------------------------
Summary: Make chooseVolume synchronized and changes around committing
space. (was: KeyValueHandler and ContainerImporter should use same instance of
`VolumeChoosingPolicy`)
> Make chooseVolume synchronized and changes around committing space.
> -------------------------------------------------------------------
>
> 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
> Priority: Major
> 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: [email protected]
For additional commands, e-mail: [email protected]