This is an automated email from the ASF dual-hosted git repository.
hossman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 0fda63b788b SOLR-17744: Change default SOLR_JETTY_GRACEFUL value to
false
0fda63b788b is described below
commit 0fda63b788bbd232039f079d1ccd3ac452b29b85
Author: Chris Hostetter <[email protected]>
AuthorDate: Mon Jun 23 10:42:01 2025 -0700
SOLR-17744: Change default SOLR_JETTY_GRACEFUL value to false
Based on test failures noted in SOLR-17764, the implications of what this
might mean for some SolrJ users, and a lack of concensus on how to move
forward, I'm changing this defualt to minimize the risk of impact on users when
upgrading
---
solr/CHANGES.txt | 3 ++-
solr/bin/solr | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 87665948bdc..35447fc2fcb 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -240,7 +240,8 @@ Improvements
* SOLR-17732: Score-based return fields other than "score" can now be returned
in distributed queries. (Houston Putman)
-* SOLR-17744: Solr now enables Jetty's Graceful Shutdown features to prevent
client connections from being abruptly terminated on orderly shutdown (hossman)
+* SOLR-17744: Solr now supports Jetty's Graceful Shutdown module (via
SOLR_JETTY_GRACEFUL=true) to prevent client connections from being
+ abruptly terminated on orderly shutdown (hossman)
* SOLR-17187: The polling interval for PULL and TLOG replicas can now be
overridden using the `commitPollInterval` setting, which takes a String
formatted as "HH:mm:ss" (Torsten Koster via Christine Poerschke, Jason
Gerlowski)
diff --git a/solr/bin/solr b/solr/bin/solr
index be0389a5eef..ce85b4bbb85 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -301,7 +301,7 @@ fi
export SOLR_URL_SCHEME
# Gracefully wait for existing requests on shutdown
-if [ "${SOLR_JETTY_GRACEFUL:-true}" == "true" ]; then
+if [ "${SOLR_JETTY_GRACEFUL:-false}" == "true" ]; then
SOLR_JETTY_CONFIG+=("--module=graceful")
fi