cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2588) Descriptor.equals() ignores the temporary flag
Date Tue, 03 May 2011 16:19:03 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028292#comment-13028292
] 

Jonathan Ellis commented on CASSANDRA-2588:
-------------------------------------------

I'm not sure this is the right way to address the problem: Descriptor.equals is meant to say,
"do these files represent the same sstable," which intuitively shouldn't change during the
write when we rename tmp -> not tmp and open the reader.

Maybe just adding "and not temporary" to the componentsFor method would be better.

> Descriptor.equals() ignores the temporary flag
> ----------------------------------------------
>
>                 Key: CASSANDRA-2588
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2588
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>            Priority: Minor
>         Attachments: 0001-consider-temporary-flag-when-comparing-Descriptor.patch
>
>
> Noticed when working on CASSANDRA-2468 that o.a.c.io.sstable.Descriptor.equals() ignores
the temporary flag. This is problem when using SSTable.componentsFor(). 
> Split into another ticket so it's not lost in CASSANDRA-2468

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message