Description of problem: In 3.8.5, as a quick solution to the performance headache in aggregating the progress for one testrun, the case_run_status is cached using a class level dictionary which basically is a global variable. In a shared-nothing environment such as Apache WSGI, this is a thread-unsage. Because in one process, this dictionary gets outdated, it doesn't in other running processes. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Need to change it to a thread-safe way. Possible solution might be to utilize a robust caching backend, such as memcached or better redis.
Related to 1027589
https://bugzilla.redhat.com/show_bug.cgi?id=1027589 has been modified.