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

change file-writing back end code to be streamy too

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: Beta
    • Component/s: src
    • Labels:
      None

      Description

      The file-writing interface is streamy, but behind the scenes the data just
      accumulates in memory and gets written to the fs when the stream is closed.
      Now that we have the strings table to accumulate the data, we no longer
      need to hold it in memory (although note that the issue of cleaning out
      unreferenced strings after a crash, or even after a writer just wanders off
      without ever closing the stream, is tricky).
      
      See:
      
         tree.c:svn_fs_apply_txdelta() and friends
      
         dag.c: svn_fs__dag_set_contents() and friends
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kfogel Karl Fogel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: