cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yang Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3165) ArrayBackedSortedColumns is not being used by ColumnFamily.cloneMeShallow()
Date Fri, 09 Sep 2011 01:12:08 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yang Yang updated CASSANDRA-3165:
---------------------------------

    Attachment: 0001-ColumnFamily.cloneMeShallow-should-remember-the-fact.patch

remember factory

> 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
>            Reporter: Yang Yang
>            Priority: Minor
>         Attachments: 0001-ColumnFamily.cloneMeShallow-should-remember-the-fact.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

        

Mime
View raw message