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 (JIRA)" <ji...@apache.org> on 2012/08/30 06:21:08 UTC
[jira] [Created] (CASSANDRA-4586) composite indexes do a linear
search on all SecondaryIndex objects for any update
Jonathan Ellis created CASSANDRA-4586:
-----------------------------------------
Summary: composite indexes do a linear search on all SecondaryIndex objects for any update
Key: CASSANDRA-4586
URL: https://issues.apache.org/jira/browse/CASSANDRA-4586
Project: Cassandra
Issue Type: Bug
Reporter: Jonathan Ellis
Assignee: Sylvain Lebresne
not much point in having a Map if we can't use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4586) composite indexes do a linear
search on all SecondaryIndex objects for any update
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444705#comment-13444705 ]
Jonathan Ellis commented on CASSANDRA-4586:
-------------------------------------------
also on my hit list: having to be super careful to call makeIndexColumnName in the right places, with no type safety since it's BB in BB out.
> composite indexes do a linear search on all SecondaryIndex objects for any update
> ---------------------------------------------------------------------------------
>
> Key: CASSANDRA-4586
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4586
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
>
> not much point in having a Map if we can't use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4586) composite indexes do a linear
search on all SecondaryIndex objects for any update
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444706#comment-13444706 ]
Jonathan Ellis commented on CASSANDRA-4586:
-------------------------------------------
yes, composites caused a world of pain for CASSANDRA-2897. :)
> composite indexes do a linear search on all SecondaryIndex objects for any update
> ---------------------------------------------------------------------------------
>
> Key: CASSANDRA-4586
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4586
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
>
> not much point in having a Map if we can't use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4586) composite indexes do a linear
search on all SecondaryIndex objects for any update
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444665#comment-13444665 ]
Jonathan Ellis commented on CASSANDRA-4586:
-------------------------------------------
seems like this would be more straightforward if we pulled out the cql3 name from the composite first, then the IndexManager could do a Map lookup again.
> composite indexes do a linear search on all SecondaryIndex objects for any update
> ---------------------------------------------------------------------------------
>
> Key: CASSANDRA-4586
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4586
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
>
> not much point in having a Map if we can't use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira