cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Yeksigian (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9249) Resetting local schema can cause assertion error
Date Thu, 30 Apr 2015 16:09:06 GMT

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

Carl Yeksigian commented on CASSANDRA-9249:
-------------------------------------------

+1

> Resetting local schema can cause assertion error
> ------------------------------------------------
>
>                 Key: CASSANDRA-9249
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9249
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>            Priority: Minor
>             Fix For: 2.1.x, 2.0.x
>
>         Attachments: 9249fix.txt
>
>
> When a user resets their local schema the Schema class purges all CFmetadata and recreates
it.  If a compaction is going on this can cause an issue similar to CASSANDRA-8332
> The original intent of the assertion was to ensure if the setLiveMetadata was never called
with different metadata instances since the schema is managed as a global reference. However
I missed this reset method so it's probably just as well to remove this assert.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message