Merge lp://staging/~cmiller/desktopcouch/reconnect-on-couch-death into lp://staging/desktopcouch

Proposed by Chad Miller
Status: Merged
Approved by: Rodrigo Moya
Approved revision: 168
Merged at revision: 169
Proposed branch: lp://staging/~cmiller/desktopcouch/reconnect-on-couch-death
Merge into: lp://staging/desktopcouch
Diff against target: 93 lines (+39/-9)
2 files modified
desktopcouch/records/server.py (+11/-3)
desktopcouch/records/server_base.py (+28/-6)
To merge this branch: bzr merge lp://staging/~cmiller/desktopcouch/reconnect-on-couch-death
Reviewer Review Type Date Requested Status
Rodrigo Moya (community) Approve
Tim Cole (community) Approve
Review via email: mp+30710@code.staging.launchpad.net

Commit message

On couchdb failure, reconnect with logic that starts up the couchdb server again and uses the new port.

To post a comment you must log in.
Revision history for this message
Tim Cole (tcole) :
review: Approve
Revision history for this message
Rodrigo Moya (rodrigo-moya) :
review: Approve
169. By Chad Miller

Instead of giving python-couchdb view objects to the user, give an object we own that implements reconnecting to the server on errors, and proxies commands otherwise.

170. By Chad Miller

Fixes LP: Bug#522538.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches