lp://staging/~cmiller/desktopcouch/find-port-runtimeerror2
- Get this branch:
- bzr branch lp://staging/~cmiller/desktopcouch/find-port-runtimeerror2
Branch merges
- Eric Casteleijn (community): Approve
- Tim Cole (community): Approve
-
Diff: 39 lines (+8/-1)1 file modifieddesktopcouch/__init__.py (+8/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 155. By Chad Miller
-
A possible fix for a bug I can't reproduce, Bug#465216. It is possible
that two calls to find_port will happen near the same time. The steps to
starting up couchdb are 1) start couchdb if not already running, 2) get
pid, 3) get port. Two processes can be in that chain at the same time,
and only one will win the race of having started the winning couchdb. In
that case, each should be willing to restart the entire chain over. - 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://staging/desktopcouch