borg/borg
Thomas Waldmann 33e3348208 locking: better differentiate new vs. old clients, lock upgrade for replay
old clients use self.exclusive = None and do a read->write lock upgrade when needed.
new clients use self.exclusive = True/False and never upgrade.

replay fakes an old client by setting self.exclusive = None to get a lock upgrade if needed.
2016-08-05 19:11:16 +02:00
..
testsuite change RPC API, fix remote repo tests 2016-08-05 19:11:16 +02:00
__init__.py propperly handle borg._version using setuptools_scm 2015-08-22 15:54:40 +02:00
__main__.py cosmetic source cleanup (flake8) 2016-01-30 21:32:45 +01:00
_chunker.c Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907 2016-04-15 20:16:47 -04:00
_hashindex.c hashindex.c: hashindex_resize check hashindex_set rc (contract) 2016-07-09 01:35:01 +02:00
archive.py transform unpacker exception only at 1 place 2016-07-28 22:23:38 +02:00
archiver.py change RPC API, fix remote repo tests 2016-08-05 19:11:16 +02:00
cache.py rename UpgradableLock to Lock 2016-08-05 19:06:09 +02:00
chunker.pyx cython code: add some int types to get rid of unspecific python add / subtract operations 2015-09-10 23:12:12 +02:00
compress.pyx remove misc. compat code not needed for py 3.4+ 2016-01-24 15:16:05 +01:00
crypto.pyx use long long for AES block counter, fixes #1206 2016-06-26 20:45:22 +02:00
fuse.py FUSE: always create a root dir, fixes #1125 2016-07-29 00:24:18 +02:00
hashindex.pyx hashindex: remove declarations of removed functions 2016-07-09 01:27:55 +02:00
helpers.py add new placeholder {borgversion} 2016-08-02 17:03:13 +02:00
key.py When probing key files, do binary reads 2016-05-18 17:37:48 +02:00
locking.py rename UpgradableLock to Lock 2016-08-05 19:06:09 +02:00
logger.py sane remote logging, remote stderr, fixes #461 2015-12-12 22:15:08 +01:00
lrucache.py Merge branch 'master' into lrucache 2015-08-14 10:59:21 +01:00
platform.py sync_dir: silence fsync() failing with EINVAL 2016-07-08 17:36:32 +02:00
platform_darwin.pyx acls (darwin): use helper functions safe_encode/safe_decode 2015-10-19 02:32:29 +02:00
platform_freebsd.pyx acls (freebsd): use helper functions safe_encode/safe_decode 2015-10-19 01:43:46 +02:00
platform_linux.pyx acls (linux): helper functions safe_encode/safe_decode 2015-10-19 01:40:15 +02:00
remote.py locking: better differentiate new vs. old clients, lock upgrade for replay 2016-08-05 19:11:16 +02:00
repository.py locking: better differentiate new vs. old clients, lock upgrade for replay 2016-08-05 19:11:16 +02:00
shellpattern.py fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
upgrader.py rename UpgradableLock to Lock 2016-08-05 19:06:09 +02:00
xattr.py xattr LD_PRELOAD: diaper 2016-07-12 16:07:22 +02:00