Bug 60648

Summary: GraphiteBackendListener can lose some metrics at end of test if test is very short
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2    
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Philippe Mouawad 2017-01-25 22:19:24 UTC
TextGraphiteMetricsSender and PickleGraphiteMetricsSender have a metrics field which is not thread safe.
At end of test, metrics can be accessed concurrently leading to a loss of data.
Comment 1 Philippe Mouawad 2017-01-25 22:22:38 UTC
Author: pmouawad
Date: Wed Jan 25 22:20:51 2017
New Revision: 1780278

URL: http://svn.apache.org/viewvc?rev=1780278&view=rev
Log:
Bug 60648 GraphiteBackendListener can lose some metrics at end of test if test is very short
Bugzilla Id: 60648

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/PickleGraphiteMetricsSender.java
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/backend/graphite/TextGraphiteMetricsSender.java
    jmeter/trunk/xdocs/changes.xml