Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-11496

Avoid heavy contention on File/ClusterLock

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.6
    • Component/s: DFS
    • Labels:
      None

      Description

      File lookups ensure they lock the file and also temporarily 'ClusterLock'.
      The way it is implemented, causes an exclusive write to create it and delete it on release of the lock.

      That has the unfortunate side-effect of pipelining a lot of lookups as the exclusive lock temporarily locks the store for a commit.

      It would be better to create the node upfront and avoid the commit, which will avoid the contention and funnelling of file lookup requests.

        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: