borg/docs/man
Thomas Portmann dfc5e915cc
Fixed locking, issue #4923 (#4928)
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>
2020-07-03 10:09:32 +02:00
..
borg-benchmark-crud.1 build_man 2020-04-21 22:59:27 +02:00
borg-benchmark.1 build_man 2020-04-21 22:59:27 +02:00
borg-break-lock.1 build_man 2020-04-21 22:59:27 +02:00
borg-change-passphrase.1 build_man (master) 2017-11-25 14:38:04 +01:00
borg-check.1 build_man 2020-04-21 22:59:27 +02:00
borg-common.1 build_man 2020-04-21 22:59:27 +02:00
borg-compact.1 build_man 2020-04-21 22:59:27 +02:00
borg-compression.1 build_man 2020-04-21 22:59:27 +02:00
borg-config.1 build_man 2020-04-21 22:59:27 +02:00
borg-create.1 build_man 2020-04-21 22:59:27 +02:00
borg-delete.1 build_man 2020-04-21 22:59:27 +02:00
borg-diff.1 build_man 2020-04-21 22:59:27 +02:00
borg-export-tar.1 build_man 2020-04-21 22:59:27 +02:00
borg-extract.1 build_man 2020-04-21 22:59:27 +02:00
borg-info.1 build_man 2020-04-21 22:59:27 +02:00
borg-init.1 build_man 2020-04-21 22:59:27 +02:00
borg-key-change-passphrase.1 build_man 2020-04-21 22:59:27 +02:00
borg-key-export.1 build_man 2020-04-21 22:59:27 +02:00
borg-key-import.1 build_man 2020-04-21 22:59:27 +02:00
borg-key-migrate-to-repokey.1 build_man 2020-04-21 22:59:27 +02:00
borg-key.1 build_man 2020-04-21 22:59:27 +02:00
borg-list.1 build_man 2020-04-21 22:59:27 +02:00
borg-mount.1 build_man 2020-04-21 22:59:27 +02:00
borg-patterns.1 build_man 2020-04-21 22:59:27 +02:00
borg-placeholders.1 build_man 2020-04-21 22:59:27 +02:00
borg-prune.1 build_man 2020-04-21 22:59:27 +02:00
borg-recreate.1 build_man 2020-04-21 22:59:27 +02:00
borg-rename.1 build_man 2020-04-21 22:59:27 +02:00
borg-serve.1 build_man 2020-04-21 22:59:27 +02:00
borg-umount.1 build_man 2020-04-21 22:59:27 +02:00
borg-upgrade.1 build_man 2020-04-21 22:59:27 +02:00
borg-with-lock.1 build_man 2020-04-21 22:59:27 +02:00
borg.1 Fixed locking, issue #4923 (#4928) 2020-07-03 10:09:32 +02:00
borgfs.1 build_man 2020-04-21 22:59:27 +02:00