Found when testing against ceph cluster and forgetting to change the url, but using the correct credentails otherwise. Subsequently images would fail to upload according to the frontend, but it still added the database entry and retried producing multiple duplicate errors. Deletion was then impossible as it errored when attempting to delete from the object storage. Ideally we would only allow the database insert if the full process is completed (use transaction?). See #151 (comment) for why the order is currently the way it is.
Found when testing against ceph cluster and forgetting to change the url, but using the correct credentails otherwise. Subsequently images would fail to upload according to the frontend, but it still added the database entry and retried producing multiple duplicate errors. Deletion was then impossible as it errored when attempting to delete from the object storage. Ideally we would only allow the database insert if the full process is completed (use transaction?). See #151 (comment) for why the order is currently the way it is.