MBean "TasksCompleted" for Collectd and Pollerd returns wrong counters

Description

getTasksCompleted() returns the same counter as getTasksTotal() in jmx/Pollerd.java and jmx/Collectd.java

Both of them return getExecutor().getTaskCount(), as opposed to getExecutor().getCompletedTaskCount() used by getTaskCompletionRatio().

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed June 19, 2018 at 8:57 PM

Good catch!  Fixed in foundation-2017.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created November 16, 2017 at 3:04 PM
Updated February 1, 2019 at 2:26 PM
Resolved June 19, 2018 at 8:57 PM