Skip to content

SOLR-18297: Upgrade Jetty to 12.1.14 - #5059

Open
janhoy wants to merge 3 commits into
apache:mainfrom
janhoy:SOLR-18297-jetty-12.1.14
Open

janhoy wants to merge 3 commits into
apache:mainfrom
janhoy:SOLR-18297-jetty-12.1.14

Conversation

@janhoy

@janhoy janhoy commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Jetty 12.1.14 fixes the HTTP/2 client regression (jetty/jetty.project#15368) that truncated in-flight responses during graceful shutdown, so TestGracefulJettyShutdown is re-enabled.

Targeting 10.1 for now. If it turns out that this will target 10.2, move the release-note section in ref-guide

For information: We previously upgraded to 12.1.10 in #4574 under same JIRA id, since 12.1.10 was main-only until now.

https://issues.apache.org/jira/browse/SOLR-18297

Verification (main)

  • TestGracefulJettyShutdown passed 25/25 iterations, including the seed that failed 5-8 of 15 runs on 12.1.10.
  • HttpSolrProxyTest and all 66 solrj-jetty tests pass.
  • check -x test is green.

Backporting to branch_10x

Cherry-pick, in order: bb8c68b (#4574), b4d85ed (#4664), then the commit from this PR. Expected conflicts in #4574: libs.versions.toml (keep 10x's ecj line, take the Jetty line), HttpJettySolrClient.java (keep 10x; the hunk is obsolete after #4668), HttpSolrProxyTest.java (keep 10x; it already came with #4760), solr-jetty-context.xml (delete), and the major-changes page (insert the Jetty section before "Testing Framework"). All lockfile conflicts resolve by running ./gradlew resolveAndLockAll --write-locks && ./gradlew updateLicenses after each cherry-pick; keep the existing dev.cel 0.13.1 pin in solr/modules/gcs-repository/gradle.lockfile. #4845 (12.1.12) can be skipped.

Jetty 12.1.14 fixes the HTTP/2 client regression (jetty/jetty.project#15368)
that truncated in-flight responses during graceful shutdown, so
TestGracefulJettyShutdown is re-enabled.
@janhoy

janhoy commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

CC @serhiy-bzhezytskyy

@janhoy janhoy removed this from the 10.x milestone Oct 8, 2026
@janhoy

janhoy commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@dsmiley Cleared the milestone flag as the backport requires cherry-pick in order of two other main-only commits. If all those three PRs are given the 10.x milestone at the same time, I'm sure your backport black-magic will sort out the ordering, and perhaps even peek at my backporting comment in the description of this PR. But for now, keeping it manual.

import org.slf4j.LoggerFactory;

@Ignore("Flaky from Jetty 12.1.10 upgrade https://issues.apache.org/jira/browse/SOLR-18297")
public class TestGracefulJettyShutdown extends SolrTestCaseJ4 {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say we make this test @Nightly since its main purpose was to validate the jetty fix.
And this test should probably extend SolrTestCase, not the J4 one... That's a minor..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant