Skip to content

Backport Jetty 12.1.14 to branch_10x - #5102

Closed
janhoy wants to merge 4 commits into
apache:branch_10xfrom
janhoy:jetty_12.1.14_10x
Closed

janhoy wants to merge 4 commits into
apache:branch_10xfrom
janhoy:jetty_12.1.14_10x

Conversation

@janhoy

@janhoy janhoy commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

🤖 AI assisted backport 🤖

Backport of the Jetty 12.1 upgrade to branch_10x, which had stayed on 12.0.34 because Jetty 12.1.10 regressed HTTP/2 client behaviour during graceful shutdown (jetty/jetty.project#15368). That is fixed in 12.1.14, so TestGracefulJettyShutdown is un-ignored and marked @Nightly.

Commits

Cherry-picked in order (-x), skipping #4845 (12.1.12) as redundant:

Plus one 10x-only commit removing the now-superseded update-eclipse-jetty-12.0.34.yml changelog entry, so the 10.x changelog lists a single Jetty dependency update.

Conflict resolutions

  • libs.versions.toml — kept 10x's eclipse-ecj, took the Jetty version.
  • HttpJettySolrClient.java — kept 10x; the BlockingArrayQueue hunk is obsolete after HttpJettySolrClient: use fewer threads #4668.
  • HttpSolrProxyTest.java — kept 10x; it already arrived via SOLR-18382: remove DocCollection.getReplicas(), migrate 60 call sites #4760.
  • server/contexts/solr-jetty-context.xml — deleted; the webapp is now deployed directly from server/etc/jetty.xml.
  • major-changes-in-solr-10.adoc — Jetty section inserted ahead of "Testing Framework". The note says "Solr 10.1" for now and can be re-targeted before release.
  • All lockfiles regenerated with resolveAndLockAll --write-locks + updateLicenses after each cherry-pick; every Jetty coordinate and license sha1 is at 12.1.14 with no stale entries.

Testing

gradlew tidy clean, gradlew check -x test green. HttpSolrProxyTest and HttpJettySolrClientCompatibilityTest pass. TestGracefulJettyShutdown is 10/10 green on seed 2F3BD4ED8E71AEA6, the seed that failed 5-8 of 15 runs on 12.1.10.

janhoy and others added 4 commits October 10, 2026 22:19
Migrate server/etc/jetty.xml to deploy Solr’s single webapp directly (remove server/contexts/solr-jetty-context.xml).
Adapt code/tests for Jetty 12.1 API/behavior changes (HTTP client transport API changes; proxy request/response framing; RuntimeIOException removal).

(cherry picked from commit bb8c68b)
Not wrong but confusing IMO

(cherry picked from commit b4d85ed)
The 12.0.34 bump is superseded by the 12.1.14 upgrade in this branch, so
only one dependency_update entry should reach the 10.x changelog.
@janhoy

janhoy commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

@dsmiley Setting as draft since we don't want to squash this backport but preserve the individual commits. Created PR to benefit from full test suites..

@janhoy

janhoy commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

Note - upgrade note still under Solr 10.1 section. If this does not make it to an 10.1 RC2 respin, we have to move the entry on main and 10x. @sigram

@janhoy

janhoy commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

Merged to branch_10x outside of this PR. Did not merge 561e76e - leave it to separate cleanup

@janhoy janhoy closed this Oct 10, 2026
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.

2 participants