]> source.dussan.org Git - nextcloud-server.git/commit
Only update the filecache entry once the file has been written to S3 22514/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 31 Aug 2020 10:28:04 +0000 (12:28 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 31 Aug 2020 10:28:04 +0000 (12:28 +0200)
commit789b33aba498dddb7c73a9966da75c82008d42de
tree75d3303dfbac95db461722bb0897c64dc8ef80fa
parent6ffd7173f909788dd1808e493b94ec390a785604
Only update the filecache entry once the file has been written to S3

If we already update before we have no way to revert if the upload
fails.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Files/ObjectStore/ObjectStoreStorage.php