StatCollector is not thread safe and some stats are being mixed up
------------------------------------------------------------------
Key: DIRMINA-331
URL: https://issues.apache.org/jira/browse/DIRMINA-331
Project: MINA
Issue Type: Bug
Components: Core
Affects Versions: 1.0.1
Reporter: Gaston Dombiak
Fix For: 1.1
The instance variable polledSessions is not thread-safe (i.e. uses ArrayList)
and its access is not always protected (e.g. StatCollector$Worker#run()). Under
heavy load this is producing an error in the Worker.
The bytesReadThroughput statistic is incorrectly being set. It is adding up the
throughput of written messages.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira