Better error handling for session failure and connection loss
Bug #879731 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Undecided
|
Kapil Thangavelu | ||
txzookeeper |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
On session expiration, kill extant watches
For transient connection loss allow for explicit usage of a transparent retry api
Related branches
lp:~hazmat/txzookeeper/session-and-conn-fail
- William Reade (community): Approve
- Jim Baker (community): Approve
-
Diff: 1640 lines (+1143/-110)22 files modifiedsetup.py (+3/-0)
txzookeeper/__init__.py (+5/-2)
txzookeeper/client.py (+28/-10)
txzookeeper/lock.py (+5/-2)
txzookeeper/node.py (+4/-1)
txzookeeper/queue.py (+4/-1)
txzookeeper/retry.py (+310/-0)
txzookeeper/tests/__init__.py (+36/-7)
txzookeeper/tests/common.py (+23/-0)
txzookeeper/tests/proxy.py (+97/-0)
txzookeeper/tests/test_client.py (+8/-58)
txzookeeper/tests/test_conn_failure.py (+217/-0)
txzookeeper/tests/test_lock.py (+4/-1)
txzookeeper/tests/test_node.py (+4/-1)
txzookeeper/tests/test_queue.py (+5/-2)
txzookeeper/tests/test_retry.py (+327/-0)
txzookeeper/tests/test_security.py (+4/-1)
txzookeeper/tests/test_session.py (+45/-12)
txzookeeper/tests/test_utils.py (+4/-1)
txzookeeper/tests/utils.py (+4/-1)
txzookeeper/todo.txt (+1/-9)
txzookeeper/utils.py (+5/-1)
Changed in txzookeeper: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
importance: | Undecided → High |
summary: |
- Better error handling for session faillure and connection loss + Better error handling for session failure and connection loss |
Changed in juju: | |
milestone: | none → florence |
assignee: | nobody → Kapil Thangavelu (hazmat) |
Changed in txzookeeper: | |
status: | New → In Progress |
Changed in juju: | |
status: | New → In Progress |
To post a comment you must log in.
The integration of this new client functionality into juju is reserved for a separate branch.