Yashgoswami-ds opened a new pull request, #4722: URL: https://github.com/apache/solr/pull/4722
## Description This PR adds a JAX-RS API for retrieving thread dump information from the receiving Solr node. The existing `ThreadDumpHandler` functionality is exposed through the new JAX-RS endpoint while preserving the existing thread dump response structure and information. ## Changes * Added the `NodeThreadsApi` endpoint for `/node/threads`. * Added the `NodeThreadsResponse` model for the JAX-RS response. * Updated `ThreadDumpHandler` to expose the JAX-RS API. * Added the required API and response model integration. * Preserved the existing thread count, deadlock, lock, synchronizer, monitor, CPU time, and stack trace information. ## Testing * `:solr:core:compileJava` — passed * `:solr:core:test --tests org.apache.solr.handler.admin.ThreadDumpHandlerTest` — passed (4 tests, 2 skipped) ## Issue SOLR-16458 -- 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]
