Manukranth Kolloju created HBASE-10808: ------------------------------------------
Summary: Simplify Leases by using a ConcurrentHashMap Key: HBASE-10808 URL: https://issues.apache.org/jira/browse/HBASE-10808 Project: HBase Issue Type: Bug Components: Scanners Affects Versions: 0.89-fb Reporter: Manukranth Kolloju Assignee: Manukranth Kolloju Priority: Minor Fix For: 0.89-fb This fix simplifies the Leases to use a ConcurrentHashMap instead of a DelayQueue so as to avoid the Synchronization cost. The LeaseChecker now should check the ConcurrentHashMap periodically to check if a scanner has been inactive for atleast the max time. This has a weaker guarantee on when the lease will be expired but is more efficient and decreases the amount of contention. -- This message was sent by Atlassian JIRA (v6.2#6252)