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

Avoid creating extra Invoker objects when locating a region

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.89-fb
    • Fix Version/s: 0.89-fb
    • Component/s: Client
    • Labels:
      None

      Description

      While working on the HBase Swift client, I noticed that a lot of connections were being created during locateRegionInMeta, which were never used. A similar case exists in trunk (0.89-fb), but it creates an Invoker object, not an actual client till the call is made on the client. This is a trivial optimization, but can be helpful.

        Attachments

          Activity

            People

            • Assignee:
              gaurav.menghani Gaurav Menghani
              Reporter:
              gaurav.menghani Gaurav Menghani
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: