cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sankalp kohli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12554) updateJobs in PendingRangeCalculatorService should be decremented in finally block
Date Wed, 14 Sep 2016 19:41:21 GMT

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

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

You are right on the discard policy. This patch is for 3.0.

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

Mime
View raw message