lp:~cmiller/desktopcouch/sleep-and-retry-on-socket-error
- Get this branch:
- bzr branch lp:~cmiller/desktopcouch/sleep-and-retry-on-socket-error
Branch merges
- Rodrigo Moya (community): Approve
- Guillermo Gonzalez: Needs Information
- Tim Cole (community): Approve
-
Diff: 28 lines (+7/-0)1 file modifieddesktopcouch/records/server_base.py (+7/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 155. By Chad Miller
-
Try to avoid Bug#522538 , which I can not reproduce. On a socket error,
reconnect to the DB, which may spawn a new couchdb if one is not running
(for reasons that are unknown to me). - 154. By Chad Miller
-
A speculative bug fix, where a TCP socket may time out. If it does and HTTPLIB isn't smart enough to reconnect, then abandon the socket and make a new one.
- 153. By Chad Miller
-
Detect when we're trying to pluck values out of a MergableList and return those values instead.
The upshot is that this fixes a bug with replication exclusion. The code previously looked only for a list, but the new excluder API doesn't make those. (LP: #563901)
- 151. By Eric Casteleijn
-
Include dummy querystring parameter ?user_id=[user_id] to allow apache to redirect to correct shard based on the url.
- 149. By Chad Miller
-
Add a retry loop around the code that tries to get the PID and use the PID to find the port of desktopcouch. It will retry nine more times now, sleeping one second between each attempt.
- 147. By Chad Miller
-
My previous patch screws up the child-parent process condition, so desktopcouch-
service tries to kill the process group. That's bad. DBus is in the process group, if something starts us up. Gnome really wants DBus to be alive. Also, make the child replication service halfway up the possible niceness scale.
- 146. By Chad Miller
-
Don't parse all the _changes feed; work out update_seq from the DB info, so we never request the whole feed, which is doom when the whole feed is large.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:desktopcouch