-
Committer:
Tarmac
-
Author(s):
Chad Miller
-
Date:
2010-05-06 09:58:24 UTC
-
mfrom:
(154.2.1 find-port-runtimeerror)
-
Revision ID:
rodrigo@megeve-20100506095824-7p86eyk3snjdu57a
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 tostarting 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.