mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-28 04:21:03 -05:00
locking: fix ExclusiveLock race condition bug, fixes #4923 - ExclusiveLock is now based on os.rename instead of os.mkdir. - catch FileNotFoundError observed under race condition in ExclusiveLock.release() and .kill_stale_lock() - added TestExclusiveLock.test_race_condition() which reveals issue #4923 - updated docs - locking: use "raise LockTimeout from None" for prettier traceback Co-authored-by: Thomas Portmann <thomas@portmann.org> Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de> |
||
|---|---|---|
| .. | ||
| date-time.rst.inc | ||
| environment.rst.inc | ||
| file-metadata.rst.inc | ||
| file-systems.rst.inc | ||
| logging.rst.inc | ||
| positional-arguments.rst.inc | ||
| repository-locations.rst.inc | ||
| repository-urls.rst.inc | ||
| resources.rst.inc | ||
| return-codes.rst.inc | ||
| units.rst.inc | ||