Commit Graph

97 Commits (174065f8750ff374e140fae956758b0b5ec2c473)

Author SHA1 Message Date
Matthias Runge a025b4d4ee Retry on redis connection errors 2 years ago
Riccardo Pittau 5ac72fcb3d Remove six library 2 years ago
Hervé Beraud 9c4f23a019 Stop to use the __future__ module. 2 years ago
Bob.Haddleton 842c7404b2 RedisLock release() should not check if the lock has been acquired 3 years ago
garenchan 20bda6ed99 Avoid redis lock's expire_time exceeding timeout. 3 years ago
Ben Nemec e76235b675 More explicitly document driver connection strings 4 years ago
Julien Danjou 3f25d41182 redis: always remove lock from acquired lock when release()ing 5 years ago
Julien Danjou a25815d9a8 redis: log an error on release failure 5 years ago
Julien Danjou 7987f4455a Make sure Lock.heartbeat() returns True/False 5 years ago
Julien Danjou 13e23e3087 Mutualize executor code in a mixin class 5 years ago
Julien Danjou cae8421fd9 coordination: factorize common async result futures code 5 years ago
Julien Danjou 059f2ae540 redis: fix concurrent access on acquire() 6 years ago
zhangsong e6dc88b2a5 Add shared filelock 6 years ago
Julien Danjou f3dddcffdd Stop making tooz.utils depending on tooz.coordination 6 years ago
Julien Danjou 04866ab9c3 Move ToozError to root module 6 years ago
Julien Danjou 5f905c86c9 Do not re-set the members cache for watchers by default 6 years ago
Julien Danjou ea98b28519 Factorize member_id in the base coordinator class 6 years ago
Julien Danjou 0b1723ed77 Move the cached-based watcher implementation into its own class 6 years ago
Julien Danjou ca432a0de5 Factorize group quit on stop() 6 years ago
Julien Danjou c87348e13f coordination: make get_members() return a set 6 years ago
Julien Danjou 486524c37f redis: make sure we don't release and heartbeat a lock at the same time 6 years ago
Julien Danjou 274f9a61c1 redis: do not force LuaLock 6 years ago
Julien Danjou 10b9711500 coordination: expose a heartbeat loop method 7 years ago
Julien Danjou ea570c6964 Compute requires_beating 7 years ago
Lucas Alvares Gomes ba286fca5e Fix calling acquire(blocking=False) twice leads to a deadlock 7 years ago
Joshua Harlow 61c4224b57 Add lock breaking 7 years ago
Joshua Harlow a3f22fe90c Add programatic introspection of drivers characteristic(s) 7 years ago
Julien Danjou 7d9dbc85f2 pep8: fix remaining errors and enable all checks 7 years ago
Julien Danjou 8d6540f6a9 utils: replace exception_message by exception_to_unicode 7 years ago
Joshua Harlow 644484b730 Use utils.to_binary instead of using redis module equivalent 7 years ago
Joshua Harlow 9960deb8da Add noted driver weaknesses onto the drivers docs 7 years ago
Joshua Harlow 963bba02a0 Reduce duplication of code in handling multi-type blocking argument 7 years ago
Joshua Harlow f68b5ca186 Add 'requires_beating' property to coordination driver 7 years ago
Joshua Harlow fb16225d99 Add 'is_still_owner' lock test function 7 years ago
Gorka Eguileor 6b1f477996 Make RedisLock's init consistent with other locks 7 years ago
Joshua Harlow 8511d4c33a Use futurist to allow for executor providing and unifying 7 years ago
Joshua Harlow 3216c9016e Use a lua script(s) instead of transactions 7 years ago
Adam Gandelman f9cd68f8d0 Ensure run_watchers called from mixin, not base class 7 years ago
Joshua Harlow 4c38cac925 Expose 'run_elect_coordinator' and call it from 'run_watchers' 7 years ago
Joshua Harlow 61e86b0e40 Share most of the `run_watchers` code via a common mixin 7 years ago
Joshua Harlow ec519f4861 Implement watch/unwatch elected_as_leader for redis driver 7 years ago
Joshua Harlow 80f9d57791 Use lua locks instead of pipeline locks 7 years ago
Joshua Harlow 473e90ff6a Move more string constants to class constants with docstrings 7 years ago
Joshua Harlow 3d5fc42e57 Remove support for redis < 2.6.0 8 years ago
Joshua Harlow 98dad594c2 Expose redis client class constants 8 years ago
Joshua Harlow d79ddcc1f9 Explicitly start and execute most transactions 8 years ago
Joshua Harlow cdac135a57 Provide and use a options collapsing function 8 years ago
Joshua Harlow 0642bafb71 Have run_watchers take a timeout and respect it 8 years ago
Joshua Harlow 16490e5d82 Heartbeat on acquired locks copy 8 years ago
Joshua Harlow 1664a04b3d Avoid using a thread local token storage 8 years ago