[jira] [Created] (SVN-4896) Review crash-safety of new temporary files

"Daniel Shahaf (Jira)" <[email protected]> Wed, 16 Mar 2022 21:16:00 +0000 (UTC)
Newsgroups gmane.comp.version-control.subversion.issues
Message-ID <[email protected]>
Daniel Shahaf created SVN-4896:
----------------------------------

             Summary: Review crash-safety of new temporary files
                 Key: SVN-4896
                 URL: https://issues.apache.org/jira/browse/SVN-4896
             Project: Subversion
          Issue Type: Improvement
          Components: libsvn_wc
            Reporter: Daniel Shahaf


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)