You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sirona.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2016/04/27 10:45:13 UTC
[jira] [Created] (SIRONA-62) Counter#reset() must not set
concurrency to zero
Mark Struberg created SIRONA-62:
-----------------------------------
Summary: Counter#reset() must not set concurrency to zero
Key: SIRONA-62
URL: https://issues.apache.org/jira/browse/SIRONA-62
Project: Sirona
Issue Type: Bug
Affects Versions: 0.3-incubating
Reporter: Mark Struberg
Assignee: Mark Struberg
DefaultCounter#reset() currently sets the current concurrency to 0. This is wrong! There might be an action in progress, and if they stop the watch in finally, then this will lead to negative numbers obviously.
We _should_ instead reset the max_concurrency.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)