You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2013/01/09 21:04:12 UTC

[jira] [Updated] (CASSANDRA-5118) user defined compaction is broken

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

Yuki Morishita updated CASSANDRA-5118:
--------------------------------------

    Attachment: 5118-1.1.txt

Looks like user defined compaction has not been working since data directory structure change in 1.1.
Patch fixes this by pointing proper directory based on given file names.
                
> user defined compaction is broken
> ---------------------------------
>
>                 Key: CASSANDRA-5118
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5118
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: Ubuntu 12.04
>            Reporter: Michael Kjellman
>            Assignee: Yuki Morishita
>            Priority: Minor
>         Attachments: 5118-1.1.txt
>
>
> currently forceUserDefinedCompaction takes (keyspace, datafile)
> cassandra tries to look for ks/ks-cf-hf-80-Data.db when the sstable actually exists at ks/cf/ks-cf-hf-80-Data.db
> fix would be for user defined compaction to look for the sstable datafile in the correct location

--
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