[ 
https://issues.apache.org/jira/browse/CASSANDRA-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919280#action_12919280
 ] 

Gary Dusbabek commented on CASSANDRA-1563:
------------------------------------------

isset isn't going to help.  I ran into this when implementing the feature.  
isset returns true for any unset field that has a default value.  The only way 
to do this properly is to first obtain the CfDef from the server, modify it, 
then send it back (especially for those fields that don't have a default and 
null is interpreted as valid).

> 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
>             Fix For: 0.7.0
>
>         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.

Reply via email to