Mark Gui created HDDS-5715:
------------------------------
Summary: 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
The XceiverServerRatis#raftGids are accessed in the following places
+ isExist
- CloseContainerCommandHandler#handle
- CreatePipelineCommandHandler#handle
- BlockDeletingService#isDeletionAllowed
+ notifyGroupRemove
- ContainerStateMachine#notifyGroupRemove
+ 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]