gerlowskija opened a new pull request, #5423: URL: https://github.com/apache/solr/pull/5423
https://issues.apache.org/jira/browse/SOLR-18636 # Description On prior versions of Solr, Jetty kills all open connections the instant a graceful-shutdown request is received. This causes lots of disruption for users doing rolling restarts or bounces, and isn't very graceful. Solr supports a `SOLR_JETTY_GRACEFUL` env-var which changes this behavior when set, by rejecting any new requests but allowing existing requests to complete before actually shutting down SolrCores, etc. This was disabled by default due to a found in SOLR-17764. But that error-handling bug has now been resolved, so the road is clear to re-enabling this setting by default so that users can do bounces with fewer errors and disruption. # Solution The fix here is simple - we just flip the default value in `solr/bin/solr`. In making that change I noticed a few other nits that were worth fixing: the env-var wasn't documented in the ref-guide anywhere, the Windows `solr.cmd` file didn't support the env-var, etc. I've made those tiny fixes in this PR as well. # Tests Manual testing # Checklist Please review the following and check all that apply: - [x] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability. -- 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]
