1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 09:19:31 +00:00
borg/docs/internals
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
..
compaction.png docs/data structures: add simple example compaction run 2017-05-22 13:19:18 +02:00
compaction.vsd docs/data structures: add simple example compaction run 2017-05-22 13:19:18 +02:00
data-structures.rst Fixed locking, issue #4923 (#4928) 2020-07-03 10:09:32 +02:00
encryption.png
encryption.vsd
frontends.rst [DOCS] #4587 – Make Sphinx warnings break docs build 2020-03-16 19:06:00 +01:00
object-graph.png docs: internals: edited HashIndex 2017-06-04 22:44:29 +02:00
object-graph.vsd docs: internals: edited HashIndex 2017-06-04 22:44:29 +02:00
security.rst [DOCS] #4883 – Doc downplays severity of Nonce reuse issue (#5082) 2020-04-05 23:31:08 +02:00
structure.png docs/internals: layers image; Blimey! it's one pixel off! 2017-06-04 22:23:54 +02:00
structure.vsd docs/internals: layers image; Blimey! it's one pixel off! 2017-06-04 22:23:54 +02:00