You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org> on 2012/01/10 05:39:40 UTC
[jira] [Updated] (CASSANDRA-3715) Throw error when creating indexes
with the same name as other CFs
[ https://issues.apache.org/jira/browse/CASSANDRA-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3715:
--------------------------------------
Assignee: Yuki Morishita (was: Pavel Yaskevich)
> Throw error when creating indexes with the same name as other CFs
> -----------------------------------------------------------------
>
> Key: CASSANDRA-3715
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3715
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.5
> Reporter: Joaquin Casares
> Assignee: Yuki Morishita
>
> 0.8.8 throws: InvalidRequestException(why:Duplicate index name path)
> but 1.0.5 displays: null
> when running this:
> {noformat}
> create column family inode
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0
> }];
> create column family inode_archive
> with column_type = 'Standard'
> and comparator = 'DynamicCompositeType(t=>org.apache.cassandra.db.marshal.TimeUUIDType,s=>org.apache.cassandra.db.marshal.UTF8Type,b=>org.apache.cassandra.db.marshal.BytesType)'
> and default_validation_class = 'BytesType'
> and key_validation_class = 'BytesType'
> and rows_cached = 0.0
> and row_cache_save_period = 0
> and row_cache_keys_to_save = 2147483647
> and keys_cached = 1000000.0
> and key_cache_save_period = 14400
> and read_repair_chance = 1.0
> and gc_grace = 60
> and min_compaction_threshold = 4
> and max_compaction_threshold = 32
> and replicate_on_write = true
> and row_cache_provider = 'ConcurrentLinkedHashCacheProvider'
> and compaction_strategy = 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'
> and comment = 'Stores file meta data'
> and column_metadata = [
> {column_name : 'b@70617468',
> validation_class : BytesType,
> index_name : 'path',
> index_type : 0
> },
> {column_name : 'b@73656e74696e656c',
> validation_class : BytesType,
> index_name : 'sentinel',
> index_type : 0
> },
> {column_name : 'b@706172656e745f70617468',
> validation_class : BytesType,
> index_name : 'parent_path',
> index_type : 0
> }];
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira