Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-11709 Optimize Dali SDS connects
  3. HPCC-11712

SDS disconnects always involve a exclusive lock to the store

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.6
    • Component/s: Dali
    • Labels:
      None

      Description

      When a connection is disconnect, it may cause a write, e.g. if conn->close(true), or if RTM_DELETE_ON_DISCONNECT is active.

      However, a lot of the time, this is unnecessary and causes unnecessary blocking / thread serialization on the global readwrite lock ('dataRWLock').

      Change so disconnect only gains exclusive access if absolutely needs to.

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: