[ https://issues.apache.org/jira/browse/HDFS-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daryn Sharp updated HDFS-5242:
------------------------------
Attachment: HDFS-5242.patch
Added volatile to the reference. AtomicReference is just a wrapper around a volatile with
CAS capabilities that we don't need.
> Reduce contention on DatanodeInfo instances
> -------------------------------------------
>
> Key: HDFS-5242
> URL: https://issues.apache.org/jira/browse/HDFS-5242
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HDFS-5242.patch, HDFS-5242.patch
>
>
> Synchronization in {{DatanodeInfo}} instances causes unnecessary contention between call
handlers.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
|