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

Carsten Ziegeler commented on SLING-11856:
------------------------------------------

Ok, so what happens in this case: there are 5 jobs in active state, you reset 
the statistic object - with the old implementation, active stays at 5, which I 
think is correct. WIth your change it goes down to zero - which is wrong 
because there are still 5 jobs active.

If the active counter is wrong in your case, this hints to a bug somewhere else 
where the active count is not correctly decreased.

> Statistics for Sling Event Queue do not reset correctly
> -------------------------------------------------------
>
>                 Key: SLING-11856
>                 URL: https://issues.apache.org/jira/browse/SLING-11856
>             Project: Sling
>          Issue Type: Bug
>          Components: Event
>            Reporter: Roy Teeuwen
>            Priority: Major
>
> When doing a reset on the statistics, the activeJobs and queuedJobs are not 
> correctly reset. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to