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

Stefan Podkowinski commented on CASSANDRA-12146:
------------------------------------------------

Tests are running. Patch applies cleanly to 3.0 + trunk.

||2.2||3.0||trunk||
|[branch|https://github.com/spodkowinski/cassandra/tree/CASSANDRA-12146-2.2]|[branch|https://github.com/spodkowinski/cassandra/tree/CASSANDRA-12146-3.0]|[branch|https://github.com/spodkowinski/cassandra/tree/CASSANDRA-12146-trunk]|
|[dtest|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12146-2.2-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12146-3.0-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12146-trunk-dtest/]|
|[testall|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12146-2.2-testall/]|[testall|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12146-3.0-testall/]|[testall|http://cassci.datastax.com/view/Dev/view/spodkowinski/job/spodkowinski-CASSANDRA-12146-trunk-testall/]|


> Use dedicated executor for sending JMX notifications
> ----------------------------------------------------
>
>                 Key: CASSANDRA-12146
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12146
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Podkowinski
>         Attachments: 12146-2.2.patch
>
>
> I'm currently looking into an issue with our repair process where we can 
> notice a significant delay at the end of the repair task and before nodetool 
> is actually terminating. At the same time JMX NOTIF_LOST errors are reported 
> in nodetool during most repair runs.
> Currently {{StorageService.repairAsync(keyspace, options)}} is called through 
> JMX, which will start a new thread executing RepairRunnable using the 
> provided options. StorageService itself implements 
> NotificationBroadcasterSupport and will send JMX progress notifications 
> emitted from RepairRunnable (or during bootstrap). If you take a closer look 
> at {{RepairRunnable}}, {{JMXProgressSupport}} and 
> {{StorageService/NotificationBroadcasterSupport.sendNotification}} you'll 
> notice that this all happens within the calling thread, i.e. RepairRunnable. 
> Given the lost notifications and all kind of potential networking related 
> issues, I'm not really comfortable having the repair coordinator thread 
> running in the JMX stack. Fortunately NotificationBroadcasterSupport accepts 
> a custom executor as constructor argument. See attached patched.



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

Reply via email to