Summary: | Synchronisation issue on CacheManager when Concurrent Download is used | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Philippe Mouawad <p.mouawad> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | p.mouawad |
Priority: | P2 | ||
Version: | 2.5.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Fix to issue
Test plan |
Created attachment 27679 [details]
Test plan
Put a breakpoint in CacheManager line 177 you will see cache is shared between all Executor threads.
Regards
Philippe
URL: http://svn.apache.org/viewvc?rev=1178867&view=rev Log: Bug 51942 - Synchronisation issue on CacheManager when Concurrent Download is used Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java jakarta/jmeter/trunk/xdocs/changes.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2577 |
Created attachment 27678 [details] Fix to issue Hello, CacheManager#threadCache is a InheritableThreadLocal shared by child thread that sample concurrent downloaded resources. So underlying Map is shared and can therefore be corrupted. Regards Philippe Mouawad