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

New 'svn-populate-node-origins-index' tool

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.5.0
    • Component/s: svnadmin
    • Labels:
      None

      Description

      We've added a great new index/cache of node origins for our filesystem backends.
       The code is written to lazy populate as needed, but the cost of that
      calculation can be huge for existing many-revisioned repositories.
      
      So let's add an 'svnadmin populate-node-origins-index' subcommand that does the
      following (pardon the pseudocode):
      
         for rev in repos_revisions:
            changed_paths = svn_fs_paths_changed()
            for path, change in changed_paths:
               if change.kind == add_without_history()
                   svn_fs_node_origin_rev(path, rev)
      
      That way folks can populate the indexes of their existing repositories.  And
      they can do so without downtime.
      

        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: