gus-asf opened a new pull request, #2604: URL: https://github.com/apache/solr/pull/2604
Simplify ThreadCpuTimer by never instantiating it, and instead tracking any number of contexts per thread. This avoids thread safety issues previously caused by keeping state in a field. Also add TestInjection for cpu delay and use it in TestCpuAllowedLimit https://issues.apache.org/jira/browse/SOLR-17298 Assuming no objections & main remains happy will merge in a couple days Since https://issues.apache.org/jira/browse/SOLR-16986 (cpu logging) is not in 9x changes to SearchHandler that kept logging in sync with the timeout were omitted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
