You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/storage
zeripath ca55e49cc0
Retry rename on lock induced failures (#16435) (#16439)
Backport #16435

Due to external locking on Windows it is possible for an
os.Rename to fail if the files or directories are being
used elsewhere.

This PR simply suggests retrying the rename again similar
to how we handle the os.Remove problems.

Fix #16427

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
..
helper.go Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
local.go Retry rename on lock induced failures (#16435) (#16439) 4 years ago
minio.go Add size to Save function (#15264) (#15270) 4 years ago
storage.go Add size to Save function (#15264) (#15270) 4 years ago