farmmamba created HDFS-17330:
--------------------------------
Summary: 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
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]