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

Implement node-origins cache for filesystem backends

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.5.0
    • Component/s: libsvn_fs
    • Labels:
      None

      Description

      To speed up svn_fs_node_origin_rev() (which is used exclusively by
      svn_repos_node_location_segments(), which is used *all over* the merge tracking
      code), it would be handy to have an index in the filesystem backends which maps
      a line of history (probably identified by a NODE_ID) to the revision in which
      that line of history came into being.
      
      I've done this already for the BDB backend, mapping NODE_ID to the first
      NODE_REVISION_ID in that line of history, from whose TXN_ID component we can get
      the origin revision.  (I chose to map to NODE_REVISION_ID, though, because if we
      later have node-successor relationships, I have a great starting point for
      forward history crawling.)
      
      But we need something similar for FSFS.
      
      And *ideally*, we'd provide tools for populating that index for existing
      repositories recently upgraded to 1.5.
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: