Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3661

RA get-locks inefficiencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.x
    • Fix Version/s: 1.7.0
    • Component/s: libsvn_ra
    • Labels:

      Description

      The RA layers allow only two kinds of lock discovery:
      
       * Get the lock (if any) associated with repository path FOO (depth=empty)
       * Fetch all the locks for all paths locked at or under path FOO (depth=infinity)
      
      This works okay for many use-cases, but can lead to unnecessary network traffic
      in cases where depths between 'empty' and 'infinity' are employed.  A common
      such use-case is 'svn ls -v', which wants the locks for depth=immediates, but
      must fetch them today with depth=infinity (and potentially toss out most of the
      results as irrelevant).
      
      The repository and RA layers should allow for lock queries of the in-between depths.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cmpilato C. Michael Pilato
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: