cassandra-commits mailing list archives

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


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

View raw message