restic/changelog/0.8.3_2018-02-26/pull-1623

13 lines
591 B
Text
Raw Permalink Normal View History

2018-02-18 11:04:44 +00:00
Enhancement: Don't check for presence of files in the backend before writing
Before, all backend implementations were required to return an error if the
file that is to be written already exists in the backend. For most backends,
that means making a request (e.g. via HTTP) and returning an error when the
file already exists.
This is not accurate, the file could have been created between the HTTP request
2023-12-06 12:11:55 +00:00
testing for it, and when writing starts, so we've relaxed this requirement,
2018-02-18 11:04:44 +00:00
which saves one additional HTTP request per newly added file.
https://github.com/restic/restic/pull/1623