Bug 60648 - GraphiteBackendListener can lose some metrics at end of test if test is very short
Summary: GraphiteBackendListener can lose some metrics at end of test if test is very ...
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 22:19 UTC by Philippe Mouawad
Modified: 2017-01-26 21:02 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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