You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2011/09/09 16:12:08 UTC
[jira] [Resolved] (CASSANDRA-3165) ArrayBackedSortedColumns is not
being used by ColumnFamily.cloneMeShallow()
[ https://issues.apache.org/jira/browse/CASSANDRA-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Lebresne resolved CASSANDRA-3165.
-----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.1)
1.0
Reviewer: jbellis
Assignee: Sylvain Lebresne
Alright, that make sense, committed to 1.0
> ArrayBackedSortedColumns is not being used by ColumnFamily.cloneMeShallow()
> ---------------------------------------------------------------------------
>
> Key: CASSANDRA-3165
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3165
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Affects Versions: 1.0
> Reporter: Yang Yang
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 1.0
>
> Attachments: 0001-ColumnFamily.cloneMeShallow-should-remember-the-fact.patch, 3165_v2.patch
>
>
> JIRA 2843 utilizes ArrayBackedSortedColumns for read path.
> but this is missed in ColumnFamily.cloneMeShallow(), which still calls ColumnFamily.create() without the factory, so it defaults to the slower SkipList-based one.
> an easy change is to remember the factory, and use it when cloneMeShallow()
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira