Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 60203 invoked from network); 25 Jun 2010 19:14:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jun 2010 19:14:17 -0000 Received: (qmail 13887 invoked by uid 500); 25 Jun 2010 19:14:17 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 13823 invoked by uid 500); 25 Jun 2010 19:14:16 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 13814 invoked by uid 99); 25 Jun 2010 19:14:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 19:14:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 19:14:09 +0000 Received: by fxm5 with SMTP id 5so269585fxm.11 for ; Fri, 25 Jun 2010 12:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=C9bsONPqweDI9c/aFh9RCcjKqynWN820MdRzbckRktM=; b=FzugJnTCPnoSzbxwp5JL1q0J4fU9Q6Sf5tlSIQqaCD2paY/2xCzjXb+vbJaLov9sj+ zylEHQqlD2kj9PvMZrTXxuiScOzj2l2QNF/c8uLGQsIapE3k5BIO81H/Mg53Rb8AqKGH NcLypQ7EepHYkBK0hLMwieyLx7allonovpczU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=W2BEd9+BJxmtrtILLu9ecP/mHbJF1t2+FDTvT9lmGBWVSZVzUQFRePZ0F/bRbFubfO K2gCBjBkHL+xA2jkM8LNQkH6oV09pypIWSwqYR6/VCpiCXZx78E/T2Du/erMqDfNFqwi 3K05ILezTnqO5WjwKdpV0VhGrDyNs72+2m+Dk= MIME-Version: 1.0 Received: by 10.103.48.21 with SMTP id a21mr332365muk.98.1277493229374; Fri, 25 Jun 2010 12:13:49 -0700 (PDT) Received: by 10.103.228.5 with HTTP; Fri, 25 Jun 2010 12:13:49 -0700 (PDT) In-Reply-To: <4AAA137B-B276-486A-9BEE-C42FAB3F60D2@tumbolia.org> References: <8294820.59751277478532199.JavaMail.jira@thor> <1E86775F-35FB-4CC2-8856-E0C603E36689@tumbolia.org> <9DCD1334-2F3E-4985-BD5F-AA0CAFB370AA@tumbolia.org> <2E5B283E-C10F-4716-A5D1-B312A7F0A04A@tumbolia.org> <4AAA137B-B276-486A-9BEE-C42FAB3F60D2@tumbolia.org> Date: Fri, 25 Jun 2010 21:13:49 +0200 Message-ID: Subject: Re: [jira] Updated: (COUCHDB-393) Cannot discover currently running http port if ini file specifies port 0 From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jun 25, 2010 at 7:40 PM, Noah Slater wrote: > 1.0 should be relatively stable though. So if we're planning to replace the patch with another patch that works differently, is that a good idea. Or do you think both things could live side by side without any trouble? > They could live together, but it may be redundant at the end. Is this a problem If we have some time I could work on another solution. For now I fail though to find a way to get final port from couch in the shell script. The only simple way I see for now is to name the CouchDB node and then call some specific function with erlang that return the correct information. The list of nodes could be get via erlang too. But do we want to name the nodes ? (via -sname or such) . If we don't name the nodes, there may be a way to do it via os pids, but I don't know it yet. - benoit