Details
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
HDFS-2695 ReadLock should be enough for FsNameSystem#renewLease.
- Resolved