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

Jonathan Ellis updated CASSANDRA-2059:
--------------------------------------

    Attachment: 2059.txt

Patch to use Sets.difference instead of mutating components

> SSTableDeletingReference only deletes data files
> ------------------------------------------------
>
>                 Key: CASSANDRA-2059
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2059
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.7.2
>
>         Attachments: 2059.txt
>
>
> Ching-Cheng Chen reports on the mailing list:
>       
> In SSTableDeletingReference, it try this operation
> components.remove(Component.DATA);
> before
> STable.delete(desc, components);
> However, the components was reference to the components object which was 
> created inside SSTable by
> this.components = Collections.unmodifiableSet(dataComponents);
> As you can see, you can't try the remove operation on that components object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to