You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Hermes (JIRA)" <ji...@apache.org> on 2010/10/05 00:02:34 UTC
[jira] Issue Comment Edited: (CASSANDRA-1563)
system_update_column_family() sets absent values to 0
[ https://issues.apache.org/jira/browse/CASSANDRA-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917794#action_12917794 ]
Jon Hermes edited comment on CASSANDRA-1563 at 10/4/10 6:01 PM:
----------------------------------------------------------------
For CF: subcolumn_comparator should be null if type != 'Super', comment can be null (or '', both are accounted for), default_validation_class can be null (and is defaulted in code). The rest are primitives.
For KS: strategy_opts can be null. replication_factor is also allowed to be null and really shouldn't be.
was (Author: jhermes):
For CF: subcolumn_comparator should be null if type != 'Super', comment can be null (or '', both are accounted for), default_validation_class can be null (and is defaulted in code). The rest are primitives.
For KS: replication_factor is allowed to be null and shouldn't be.
> system_update_column_family() sets absent values to 0
> -----------------------------------------------------
>
> Key: CASSANDRA-1563
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1563
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.7 beta 1
> Reporter: Tyler L. Hobbs
> Assignee: Jon Hermes
> Attachments: reproduce.txt
>
>
> When system_update_keyspace() is supplied with a CfDef that does not have, for example, min_compaction_threshold or gc_grace_seconds, it sets them to zero. I would expect them to be unchanged, instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.