Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-470

Thrift connection pooler breaks if thrift service inheritance is used

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: backlog, 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: core.api
    • Labels:
      None

      Description

      The thrift connection pooler in desktop/core/src/desktop/lib/thrift_util.py keys its dictionary of client connections by (host, port) pair. If a service which Hue is communicating with utilizes thrift's service inheritance feature, it's potentially possible for multiple distinct thrift service interfaces to be available on a single (host, port) pair. The thrift connection pooler should therefore key by (client class, host, port) three tuple.

        Attachments

          Activity

            People

            • Assignee:
              atm Aaron T. Myers
              Reporter:
              atm Aaron T. Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: