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

Don't hold process wide lock connection_to_sessions_map_lock_ while cancelling query

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Impala 2.7.0
    • Impala 2.8.0
    • Backend
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: