You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org> on 2011/11/01 05:10:32 UTC

[jira] [Updated] (CASSANDRA-3437) invalidate / unregisterSSTables is confused

     [ 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