You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "sankalp kohli (JIRA)" <ji...@apache.org> on 2016/08/26 01:26:20 UTC

[jira] [Commented] (CASSANDRA-12554) updateJobs in PendingRangeCalculatorService should be decremented in finally block

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

sankalp kohli commented on CASSANDRA-12554:
-------------------------------------------

cc [~JoshuaMcKenzie] who worked on CASSANDRA-7390

> updateJobs in PendingRangeCalculatorService should be decremented in finally block
> ----------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12554
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12554
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: sankalp kohli
>            Assignee: sankalp kohli
>            Priority: Minor
>         Attachments: PendingRangeRace.txt
>
>
> We fixed an issue in CASSANDRA-7390 with MoveTests by adding a count for running jobs. While looking at the code, I can see that decrement of this counter should be done in finally block. 
> Also we dont need to change the setRejectedExecutionHandler in CASSANDRA-7390 as we can change the order of calling increment. 



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