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

Consider optimizing 'svnadmin load' and 'svnrdump load' revision map for memory usage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk
    • nonblocking
    • libsvn_repos
    • None

    Description

      'svnadmin load' and 'svnrdump load' both employ a hash which maps revisions
      found in the dumpstream to actual committed revisions.  It's been suggested that
      this might not be the best approach in terms of memory consumption when loading
      large (many-revisioned) repositories.
      
      http://svn.haxx.se/dev/archive-2011-05/0943.shtml
      
      A new approach *should* be able to be dropped in fairly easily.  See the
      set_revision_mapping() and get_revision_mapping() functions found in both
      libsvn_repos/load-fs-vtable.c and svnrdump/load_editor.c.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: