cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8531) metric CommitLog.PendingTasks is always growing
Date Mon, 05 Jan 2015 18:06:34 GMT

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

Jonathan Ellis commented on CASSANDRA-8531:
-------------------------------------------

Not sure what you're looking at.

{code}
    public long getPendingTasks()
    {
        return queue.size();
    }
{code}

> metric CommitLog.PendingTasks is always growing
> -----------------------------------------------
>
>                 Key: CASSANDRA-8531
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8531
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: cassandra21-2.1.1-1.noarch
> Linux  2.6.32-431.el6.x86_64
> RHEL 6.5
> java version "1.7.0_67"
> Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
>            Reporter: Anton Lebedevich
>
> org.apache.cassandra.db.commitlog.AbstractCommitLogService increments pending task counter
each time it is being read (see method getPendingTasks)



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

Mime
View raw message