[
https://issues.apache.org/jira/browse/HDDS-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ayush Saxena resolved HDDS-5715.
--------------------------------
Fix Version/s: 1.2.0
Resolution: Fixed
> Make XceiverServerRatis#raftGids a thread-safe set.
> ---------------------------------------------------
>
> Key: HDDS-5715
> URL: https://issues.apache.org/jira/browse/HDDS-5715
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Mark Gui
> Assignee: Mark Gui
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.2.0
>
>
> The XceiverServerRatis#raftGids are accessed in the following places
> + XceiverServerRatis#isExist
> - CloseContainerCommandHandler#handle
> - CreatePipelineCommandHandler#handle
> - BlockDeletingService#isDeletionAllowed
> + XceiverServerRatis#notifyGroupRemove
> - ContainerStateMachine#notifyGroupRemove
> + XceiverServerRatis#notifyGroupAdd
> - ContainerStateMachine#initialize
> So there are at least 2 threads:
> - BlockDeletingService Thread
> - CommandHandlerThread
> so we need to make it thread-safe.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]