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

Jonathan Ellis updated CASSANDRA-3116:
--------------------------------------

    Attachment: 3116.txt

Patch to replace locking in migrations + valid checks in CompactionManager with 
isValid checks in DataTracker.

compactionLock is still used but only for major compaction.  should we get rid 
of that too and say "if you want to be absolutely sure you're compacting 
everything, disable minor compactions before invoking major?"
                
> Compactions can (seriously) delay schema migrations
> ---------------------------------------------------
>
>                 Key: CASSANDRA-3116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3116
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Eric Evans
>            Assignee: Jonathan Ellis
>              Labels: compaction
>             Fix For: 1.1
>
>         Attachments: 3116.txt
>
>
> A compaction lock is acquired when dropping keyspaces or column families 
> which will cause the schema migration to block if a compaction is in progress.

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

        

Reply via email to