Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 27487 invoked from network); 11 Apr 2011 22:52:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 22:52:48 -0000 Received: (qmail 56920 invoked by uid 500); 11 Apr 2011 22:52:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56896 invoked by uid 500); 11 Apr 2011 22:52:45 -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 56859 invoked by uid 99); 11 Apr 2011 22:52:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 22:52:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Mon, 11 Apr 2011 22:52:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B4E029D4F2 for ; Mon, 11 Apr 2011 22:52:05 +0000 (UTC) Date: Mon, 11 Apr 2011 22:52:05 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <923003032.50995.1302562325737.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CASSANDRA-1437) Improve default handling/validation for config.Metadata objects 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-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis resolved CASSANDRA-1437. --------------------------------------- Resolution: Duplicate done in CASSANDRA-1906 > Improve default handling/validation for config.Metadata objects > --------------------------------------------------------------- > > Key: CASSANDRA-1437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1437 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Stu Hood > Priority: Minor > > Post CASSANDRA-1436, we'll be back to single Avro objects to describe schemas for client and internal use: it would be a good opportunity to improve our handling of defaults and our validation of config.*Metadata objects. > Right now, we have multiple ways to convert a CfDef to a CFMetaData object (for example), due to the differences between the defaults that should be chosen for a _new_ column family (when we receive the CfDef from a client), versus an _existing_ column family after a new setting has been added (deserializing a CfDef from disk). Finding a unified way to handle these two (potentially different) default values would be excellent. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira