cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Hermes (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CASSANDRA-1563) system_update_column_family() sets absent values to 0
Date Mon, 04 Oct 2010 22:02:34 GMT

    [ 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.


Mime
View raw message