Tsz-wo Sze created HDDS-15006:
---------------------------------
Summary: XceiverClientGrpc may create and drop connections without
closing it
Key: HDDS-15006
URL: https://issues.apache.org/jira/browse/HDDS-15006
Project: Apache Ozone
Issue Type: Bug
Components: Ozone Client
Reporter: Tsz-wo Sze
In HDDS-14571, it uses ConcurrentHashMap.compute(..) to create connection in
XceiverClientGrpc. However, ConcurrentHashMap.compute(..) can use the
remappingFunction to create and drop objects when there is a race condition.
As a result, it may create a connection and then drop it without closing it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]