[
https://issues.apache.org/jira/browse/SOLR-18636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154202#comment-18154202
]
Jason Gerlowski commented on SOLR-18636:
----------------------------------------
> If there is a clear bug, sure
>From the user perspective I think there's *absolutely* a clear bug here, yes.
We have [long advertised a "graceful"
shutdown|https://solr.apache.org/guide/solr/latest/deployment-guide/solr-control-script-reference.html#stop],
but the actual behavior of that (by default) was to immediately fail all
running requests of any kind. Given - we don't really describe what "graceful"
means in those docs. But IMO it's hard to claim that "hard-kill all requests
with messy IO errors" falls into any definition of that term :-p
Anyway, my default approach will be to backport (even to 9.12) unless someone
feels strongly that this isn't a bugfix.
> 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, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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]