[
https://issues.apache.org/jira/browse/HDFS-17330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
farmmamba resolved HDFS-17330.
------------------------------
Resolution: Not A Problem
> CachingGetSpaceUsed#used should use LongAdder after DN splits lock
> ------------------------------------------------------------------
>
> Key: HDFS-17330
> URL: https://issues.apache.org/jira/browse/HDFS-17330
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 3.3.6
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Major
>
> After HDFS-15382, dn uses fine-grained lock.
> So we should better use LongAdder instead of AtomicLong in class
> CachingGetSpaceUsed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]