Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Later
-
1.2.0, 1.3.0
-
None
-
None
Description
It seems in HConnectionImplementation#locateRegionInMeta if region location is removed from the cache, with large number of client threads we could have many of them getting cache miss and doing meta scan, which looks unnecessary - we could empty mechanism similar to what we have in IdLock in HFileReader to fetch the block to cache, do ensure that if one thread is already looking up location for region R1, other threads who need it's location wait until first thread finishes his work.