Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6834

Use Pooled HConnection for Server Side Upsert Select

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0, 5.1.2, 5.1.3
    • 5.2.0, 5.1.3
    • core
    • None
    • Server Side upsert selects now cache the HBase connection to the target table on the region server.

    Description

      We're creating a new HConnection every time we do a server side upsert select.

      We should be using QueryUtil.getConnectionOnServer() which provides pooling.

      Found by sergey.soldatov .

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: