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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: nonblocking
    • Component/s: libsvn_repos
    • Labels:
      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

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

              Dates

              • Created:
                Updated: