You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jimmy Mårdell (JIRA)" <ji...@apache.org> on 2013/12/20 12:02:11 UTC

[jira] [Commented] (CASSANDRA-6516) Force shutdown of all repair sessions sometimes fails

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

Jimmy Mårdell commented on CASSANDRA-6516:
------------------------------------------

In fact, the snapshotLatch in RepairJob probably ought to have a time out as well. Right now it can wait forever.

I would think the solution is to simply just call terminate() from forceShutdown? This seems to unlock the latch. Perhaps there's some drawback with this?


> Force shutdown of all repair sessions sometimes fails
> -----------------------------------------------------
>
>                 Key: CASSANDRA-6516
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6516
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jimmy Mårdell
>            Priority: Minor
>
> The StorageServiceMBean forceTerminateAllRepairSessions method isn't able to shutdown a repair session if it's stuck waiting for snapshots from other nodes.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)