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

Sylvain Lebresne updated CASSANDRA-1740:
----------------------------------------

    Attachment: 0001-Patch-to-Stop-compactions-v6.patch

Ok, I believe you were either testing on trunk or you were testing stopping 
cache writes. On trunk, compaction tasks are wrapped but not on 1.0 (on 1.0, 
only the cache writing tasks uses WrappedRunnable).

There is different way to fix but I believe the best one is to change 
WrappedRunnable so that it doesn't wrap RTEs. Attaching v6 that takes this 
approach.

(Note that I have nothing against using WrappedRunnable in 1.0 too as for trunk 
for compactions if we feel so inclined but I still think WrappedRunnable should 
not wrap RTE)
                
> Nodetool commands to query and stop compaction, repair, cleanup and scrub
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1740
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1740
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Chip Salzenberg
>            Assignee: Vijay
>            Priority: Minor
>              Labels: compaction
>             Fix For: 1.0.5
>
>         Attachments: 0001-Patch-to-Stop-compactions-v2.patch, 
> 0001-Patch-to-Stop-compactions-v3.patch, 
> 0001-Patch-to-Stop-compactions-v4.patch, 
> 0001-Patch-to-Stop-compactions-v5.patch, 
> 0001-Patch-to-Stop-compactions-v6.patch, 
> 0001-Patch-to-Stop-compactions.patch, CASSANDRA-1740.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The only way to stop compaction, repair, cleanup, or scrub in progress is to 
> stop and restart the entire Cassandra server.  Please provide nodetool 
> commands to query whether such things are running, and stop them if they are.

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