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 93572780B for ; Thu, 8 Sep 2011 06:32:01 +0000 (UTC) Received: (qmail 74731 invoked by uid 500); 8 Sep 2011 06:32:01 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 74418 invoked by uid 500); 8 Sep 2011 06:31:38 -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 73481 invoked by uid 99); 8 Sep 2011 06:31:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 06:31:33 +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; Thu, 08 Sep 2011 06:31:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7240A877A1 for ; Thu, 8 Sep 2011 06:31:09 +0000 (UTC) Date: Thu, 8 Sep 2011 06:31:09 +0000 (UTC) From: "Mark Guzman (JIRA)" To: commits@cassandra.apache.org Message-ID: <451296280.1944.1315463469464.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2033768149.4342.1310427419807.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-2882) describe_ring should include datacenter/topology information 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-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Guzman updated CASSANDRA-2882: ----------------------------------- Attachment: 0001-adding-an-additional-parameter-to-the-TokenRange-res.patch v1 patch adding datacenter info and port where possible. needs some cleanup and review. > describe_ring should include datacenter/topology information > ------------------------------------------------------------ > > Key: CASSANDRA-2882 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2882 > Project: Cassandra > Issue Type: Improvement > Components: API, Core > Reporter: Mark Guzman > Assignee: Pavel Yaskevich > Priority: Minor > Labels: lhf > Fix For: 1.0 > > Attachments: 0001-adding-an-additional-parameter-to-the-TokenRange-res.patch > > > describe_ring is great for getting a list of nodes in the cluster, but it doesn't provide any information about the network topology which prevents it's use in a multi-dc setup. It would be nice if we added another list to the TokenRange object containing the DC information. > Optimally I could have ask any Cassandra node for this information and on the client-side prefer local nodes but be able to fail to remote nodes without requiring another lookup. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira