lp:~hazmat/txzookeeper/distributed-queue
Created by
Kapil Thangavelu
and last modified
- Get this branch:
- bzr branch lp:~hazmat/txzookeeper/distributed-queue
Only
Kapil Thangavelu
can upload to this branch. If you are
Kapil Thangavelu
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Gustavo Niemeyer: Approve
-
Diff: 989 lines (+901/-13)7 files modifiedtxzookeeper/lock.py (+12/-7)
txzookeeper/queue.py (+451/-0)
txzookeeper/tests/__init__.py (+0/-4)
txzookeeper/tests/test_client.py (+27/-0)
txzookeeper/tests/test_lock.py (+17/-0)
txzookeeper/tests/test_queue.py (+392/-0)
txzookeeper/todo.txt (+2/-2)
Branch information
Recent revisions
- 54. By Kapil Thangavelu
-
refactor serialized queue to avoid extraneous existance checks and processing nodes.
- 52. By Kapil Thangavelu
-
fix a race condition in reliable queue, if two consumers had fetch an item, and one of the consumers finished processing it before the other created a reservation, the slow consumer would return an item that was deleted. Now the the cycle switches from get->reserve-return to exists-
>reserve- >get->return. - 47. By Kapil Thangavelu
-
make queue prefix public, utilize reliable queue tests for serialized queue.
- 45. By Kapil Thangavelu
-
if lock acquisition fails, then all instance state associated to the attempt should be cleared, so subsequent acquire attempts can proceed.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:txzookeeper