You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #195 (comment) there is a possibility that retrying the upload for a file may fail in append-only mode:
if an upload for an append-only repository succeeds without the client learning about that fact, this will cause later retries to fail. It would be possible for the rest-server to accept a reupload iff that upload has the expected file hash.
Another option would be to return a special status code to signal to restic that the file in question already exists.
What are you trying to do? What is your use case?
Ensure uploads work reliably even when retries are necessary.
The text was updated successfully, but these errors were encountered:
Output of
rest-server --version
0.11.0
What should rest-server do differently?
As discussed in #195 (comment) there is a possibility that retrying the upload for a file may fail in append-only mode:
if an upload for an append-only repository succeeds without the client learning about that fact, this will cause later retries to fail. It would be possible for the rest-server to accept a reupload iff that upload has the expected file hash.
Another option would be to return a special status code to signal to restic that the file in question already exists.
What are you trying to do? What is your use case?
Ensure uploads work reliably even when retries are necessary.
The text was updated successfully, but these errors were encountered: