Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4516

Don't hold process wide lock connection_to_sessions_map_lock_ while cancelling query

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.7.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Backend
    • Labels:
      None

      Description

      We hold the connection_to_sessions_map_lock_ while cancelling a query from the ConnectionEnd() path. This can cause slowdowns for client interaction with the daemon since this path currently takes a series of locks to do the cancel.

      We can do away with this by dropping the lock early before calling CloseSessionInternal().

        Attachments

          Activity

            People

            • Assignee:
              sailesh Sailesh Mukil
              Reporter:
              sailesh Sailesh Mukil
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: