Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15654 Optimize client's MetaCache handling
  3. HBASE-15648

Reduce number of concurrent region location lookups when MetaCache entry is cleared

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Later
    • 1.2.0, 1.3.0
    • None
    • Client
    • 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.

      Attachments

        1. HBASE-15648-branch-1.3.v1.patch
          19 kB
          Mikhail Antonov

        Activity

          People

            mantonov Mikhail Antonov
            mantonov Mikhail Antonov
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: