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 72FD7CF4C for ; Wed, 30 May 2012 11:00:25 +0000 (UTC) Received: (qmail 22779 invoked by uid 500); 30 May 2012 11:00:24 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 22627 invoked by uid 500); 30 May 2012 11:00:24 -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 22564 invoked by uid 99); 30 May 2012 11:00:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2012 11:00:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id EB42F142857 for ; Wed, 30 May 2012 11:00:23 +0000 (UTC) Date: Wed, 30 May 2012 11:00:23 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: <1349332754.15605.1338375623965.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1832736644.38308.1331190309143.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-4018) Add column metadata to system columnfamilies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285570#comment-13285570 ] Sylvain Lebresne commented on CASSANDRA-4018: --------------------------------------------- I pushed at https://github.com/pcmanus/cassandra/commits/4018-10 an additional commit on top of 4018-9. It does create a ClientState for processInternal; a clientState object is not very expensive and it's easier than trying to hack the code to work without clientState imo. Another problem is that currently you can't do range_slice query on the system tables before the tokens are set, but the request was to actually read the saved token, so that thrown a assertionError in the TokenMetadata.ringIterator. The commit fix this by specializing getNaturalEndpoints for localStrategy, which is enough. But I would be fine if we decide that during the SystemTable loading we decide to stick with lower level CFStore methods to query. Another problem is CASSANDRA-4296, so the branch should also be rebased on top of that (which is not the case of my github branch btw). Even with that, I still get one last unit test failure. The problem is that the new 'peers' table uses row keys that are not necessarily UTF8, but the tests are using CollatingOrderPreservingPartitioner so this throws an exception (in BootStrapperTest). Not sure what's the best fix for that. > Add column metadata to system columnfamilies > -------------------------------------------- > > Key: CASSANDRA-4018 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4018 > Project: Cassandra > Issue Type: Improvement > Affects Versions: 1.1.0 > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Priority: Minor > Fix For: 1.2 > > > CASSANDRA-3792 adds this to the schema CFs; we should modernize the other system CFs as well -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira