Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F17DD8431 for ; Tue, 13 Sep 2011 03:17:06 +0000 (UTC) Received: (qmail 62136 invoked by uid 500); 13 Sep 2011 03:17:06 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 61757 invoked by uid 500); 13 Sep 2011 03:16:43 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 61737 invoked by uid 99); 13 Sep 2011 03:16:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 03:16:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2011 03:16:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CE00595B89 for ; Tue, 13 Sep 2011 03:16:10 +0000 (UTC) Date: Tue, 13 Sep 2011 03:16:10 +0000 (UTC) From: "Nick Bailey (JIRA)" To: commits@cassandra.apache.org Message-ID: <1499190183.20566.1315883770839.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <639695889.18889.1315858988789.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-3187) Return both listen_address and rpc_address through describe_ring MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Bailey updated CASSANDRA-3187: ----------------------------------- Attachment: 0001-1.0-Return-both-rpc-address-and-listen-address-with-v2.patch 0001-0.8-Return-both-rpc-address-and-listen-address-with-v2.patch Rebased to make the required parameter listen_address again and add an optional rpc_address. > Return both listen_address and rpc_address through describe_ring > ---------------------------------------------------------------- > > Key: CASSANDRA-3187 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3187 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0 > Reporter: Nick Bailey > Assignee: Nick Bailey > Priority: Minor > Fix For: 0.8.6, 1.0.0 > > Attachments: 0001-0.8-Return-both-rpc-address-and-listen-address-with-the-.patch, 0001-0.8-Return-both-rpc-address-and-listen-address-with-v2.patch, 0001-1.0-Return-both-rpc-address-and-listen-address-with-the-.patch, 0001-1.0-Return-both-rpc-address-and-listen-address-with-v2.patch > > > CASSANDRA-1777 changed describe_ring to return the rpc address associated with a node instead of the listen_address. This allows using different interfaces for listen_address and rpc_address, but breaks when rpc_address is set to something like 0.0.0.0. > I think the describe_ring should just return both interfaces. We can add an optional field to the TokenRange struct that is 'listen_endpoints' or something similar and populate that with the listen addresses of nodes. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira