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

Remove region location prefetching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.0, 0.96.0
    • 0.99.0
    • None
    • None
    • Reviewed
    • The location prefetch features is removed from the code. The related interfaces are kept for backward compatibility, but do nothing.

    Description

      Issues with prefetching are:

      • we do two calls to meta: one for the exact row, one for the prefetch
      • it's done in a lock
      • we take the next 10 regions. Why 10, why the 10 next?
      • is it useful if the table has 100K regions?

      Options are:

      • just remove it
      • replace it with a reverse scan: this would save a call

      Attachments

        1. 10018.v1.patch
          22 kB
          Nicolas Liochon
        2. 10018.v2.patch
          27 kB
          Nicolas Liochon
        3. 10018v3.patch
          27 kB
          Nicolas Liochon
        4. 10018.v4.patch
          46 kB
          Nicolas Liochon
        5. 10018.v5.patch
          36 kB
          Nicolas Liochon
        6. 10018.v6.patch
          36 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: