[
https://issues.apache.org/jira/browse/SOLR-18636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153559#comment-18153559
]
Jason Gerlowski commented on SOLR-18636:
----------------------------------------
Any thoughts on this? Planning to open a PR shortly for at least "main".
What do folks thing about putting it on other branches as well? I could see an
argument that this breaks backcompat and shouldn't be changed within (e.g.)
10x. But in practice it's really hard to imagine a user objecting to the
change, as the "existing behavior" we'd be preserving would be for Solr's Jetty
to messily kill a bunch of client connections an cause I/O errors on the client
side. I'd vote that we consider this quirky behavior outside of our backcompat
contract, and backport the default-change to branch_10x, branch_9x,
branch_9_11, etc.
> Enable "graceful" Jetty shutdown by default
> -------------------------------------------
>
> Key: SOLR-18636
> URL: https://issues.apache.org/jira/browse/SOLR-18636
> Project: Solr
> Issue Type: Improvement
> Affects Versions: main(11.0), 10.1, 9.11
> Reporter: Jason Gerlowski
> Priority: Major
> Labels: jetty
>
> SOLR-17744 noticed that while we go through pains to shut down Solr
> gracefully, our use of Jetty is much more abrupt and severs all open
> connections immediately even on a graceful-shutdown. It remedied this by
> adding configuring a more graceful Jetty shutdown option and exposing a
> {{SOLR_JETTY_GRACEFUL}} env-var to toggle this.
> However, this flag was left "off" by default due to a SolrJ bug discovered in
> SOLR-17764, so most users are currently seeing messy, non-graceful shutdown
> behavior. The SOLR-17764 bug is on its way to closing, so we should work to
> make {{SOLR_JETTY_GRACEFUL=true}} the default once again.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]