[ 
https://issues.apache.org/jira/browse/HDDS-16335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113072#comment-18113072
 ] 

Tsz-wo Sze commented on HDDS-16335:
-----------------------------------

[~echonesis], your approach sounds great!

As you known, there is lock field in XceiverClientShortCircuit but the 
domainSocket and some other non-final fields are not accessed under the lock.  
So, it does not seem to support multi-threads.  I think we should use the lock 
when access all the non-final fields. 

> Change XceiverClientShortCircuit to support concurrent access
> -------------------------------------------------------------
>
>                 Key: HDDS-16335
>                 URL: https://issues.apache.org/jira/browse/HDDS-16335
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client
>            Reporter: Tsz-wo Sze
>            Priority: Major
>
> In XceiverClientShortCircuit, domainSocket and some other fields are not 
> synchronized.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to