Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8504

HTable.getRegionsInRange() should provide a non-cached API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.7
    • 0.98.0, 0.95.2, 0.94.9
    • Client
    • None

    Description

      getRegionsInRange() calls getRegionLocation() without reloading it. It will return wrong result if the cache is outdated due to region split. If the cost of always reloading isn't significant, we should consider doing that by default. Otherwise, let's have an API for getRegionsInRange() that forces a reload.

      Attachments

        1. HBASE-8504-v0.patch
          3 kB
          Matteo Bertozzi
        2. HBASE-8504-v0.patch
          3 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            alan@cloudera.com Alan Choi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: