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

Review crash-safety of new temporary files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libsvn_wc
    • None

    Description

      Audit the new code and verify that all temporary files are created in a crash-safe way; that is: in such a way that if libsvn_wc is SIGKILL'd during an operation (during or after hydrating and before dehydrating), then the temporary file will be deleted by svn at some point in the future.

      E.g., if libsvn_wc is killled halfway through hydrating a 10GB file, make sure the 5GB tempfile won't just be left behind forever, but will be deleted by svn later.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              danielsh Daniel Shahaf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: