You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/08/13 06:48:27 UTC

[jira] [Created] (CASSANDRA-3029) Questionable code in CFMetaData

Questionable code in CFMetaData
-------------------------------

                 Key: CASSANDRA-3029
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3029
             Project: Cassandra
          Issue Type: Improvement
    Affects Versions: 0.8.4
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 0.8.5


CFMetaData.convertToThrift around line 957 does

        Map<String, String> compactionOptions = new HashMap<String, String>();
        def.setCompaction_strategy_options(cfm.compactionStrategyOptions);
        return def;

either the allocation of compactionOptions should be removed, or it should be passed into the setCompaction_strategy_options call.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CASSANDRA-3029) Questionable code in CFMetaData

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3029.
---------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 0.8.5)

incorporated in CASSANDRA-3032

> Questionable code in CFMetaData
> -------------------------------
>
>                 Key: CASSANDRA-3029
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3029
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 0.8.4
>            Reporter: Dave Brosius
>            Priority: Trivial
>
> CFMetaData.convertToThrift around line 957 does
>         Map<String, String> compactionOptions = new HashMap<String, String>();
>         def.setCompaction_strategy_options(cfm.compactionStrategyOptions);
>         return def;
> either the allocation of compactionOptions should be removed, or it should be passed into the setCompaction_strategy_options call.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira