cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Morton (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-2588) Descriptor.equals() ignores the temporary flag
Date Sun, 01 May 2011 06:33:03 GMT

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

Aaron Morton updated CASSANDRA-2588:
------------------------------------

    Attachment: 0001-consider-temporary-flag-when-comparing-Descriptor.patch

Attached patch tests the temporary flag and includes a unit test.

Patch applies on version 0.7 and 0.8. 

All tests pass on 0.7 but on 0.8 the two below fail but these also fail on the 0.8 trunk 


Test org.apache.cassandra.db.CompactionsPurgeTest FAILED
Test org.apache.cassandra.db.KeyCacheTest FAILED


> 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