cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3437) invalidate / unregisterSSTables is confused
Date Tue, 01 Nov 2011 04:10:32 GMT

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

Jonathan Ellis updated CASSANDRA-3437:
--------------------------------------

    Attachment: 3437.txt

patch to make invalidate do the equivalent of unregisterSSTables and removes the latter as
a separate method.  Uses in tests were replaced by calling clearUnsafe.  Did have to extract
CFS.unregisterMBean as a separate method for KeyCacheTest's benefit.

Patch also renames IM.unregisterMBean -> IM.invalidate.


                
> invalidate / unregisterSSTables is confused
> -------------------------------------------
>
>                 Key: CASSANDRA-3437
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3437
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 1.0.2
>
>         Attachments: 3437.txt
>
>
> invalidate doesn't call unregisterSSTables, and vice versa, making it easy to get yourself
into a situation that "shouldn't happen."  This is causing test failures post-CASSANDRA-3116.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message