You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/12/18 16:58:10 UTC
[jira] [Created] (HDFS-5681) renewLease should not hold fsn write
lock
Daryn Sharp created HDFS-5681:
---------------------------------
Summary: renewLease should not hold fsn write lock
Key: HDFS-5681
URL: https://issues.apache.org/jira/browse/HDFS-5681
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Affects Versions: 2.0.0-alpha, 3.0.0
Reporter: Daryn Sharp
Lease renewals unnecessarily hold the write lock which reduces throughput. Currently the fsn lock doubles as an "operational lock" to prevent state transitions. If the lease manager is thread-safe then a read lock is sufficient.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)