b110f2df32
The only case where repository is locked now, is in case of upload failure, to try to protect users from downloading data in inconsistent state. This last one cannot be atomic since it involves more files, but this way should prevent most of the annoyances.