cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-3455) Active tasks should be exposed separately from pending
Date Fri, 04 Nov 2011 17:35:51 GMT


Jonathan Ellis updated CASSANDRA-3455:

    Affects Version/s:     (was: 0.8.0)
                           (was: 1.0.0)
        Fix Version/s:     (was: 1.0.3)
                           (was: 0.8.8)
              Summary: Active tasks should be exposed separately from pending  (was: Pending
tasks should probably not include active tasks)
> Active tasks should be exposed separately from pending
> ------------------------------------------------------
>                 Key: CASSANDRA-3455
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.1
>         Attachments: 0001-Update-pending-task-count.patch
> In our TheadExecutor JMX metrics, 'pending tasks' includes 'active tasks' (because it's
taskCount-completedTaskCount). I think this is counter-intuitive for most people (of course
you could define 'pending tasks' as the 'pending of being fully executed' but you usually
want pending to indicate if there is tasks that have to wait to be executed). Besides, I believe
the initial intention was not to have pending to include active given the following comment:
> {noformat}
>     /**
>      * Get the number of tasks waiting to be executed
>      */
>     public long getPendingTasks()
> {noformat}
> This ticket propose to fix that.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message