Skip to content

Abandoned Update dependency com.lmax:disruptor to v4 (branch_9x). (Please create new one) - #4601

Closed
solrbot wants to merge 60 commits into
apache:branch_9xfrom
solrbot:renovate-9x/major-logging
Closed

Abandoned Update dependency com.lmax:disruptor to v4 (branch_9x). (Please create new one)#4601
solrbot wants to merge 60 commits into
apache:branch_9xfrom
solrbot:renovate-9x/major-logging

Conversation

@solrbot

@solrbot solrbot commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

This PR contains the following updates:

Package Type Update Change
com.lmax:disruptor (source) dependencies major 3.4.44.0.0

Release Notes

LMAX-Exchange/disruptor (com.lmax:disruptor)

v4.0.0

Compare Source

  • Minimum Java version now 11
  • Issue #​323 - WorkerPool and WorkProcessor have been removed, no more Disruptor::handleEventsWithWorkerPool
  • Disruptor constructors using Executor have been removed. Use ThreadFactory instead.
  • Rolled up event handling extension interfaces on to EventHandler:
    • BatchStartAware
    • LifecycleAware
    • SequenceReportingEventHandler
  • FatalExceptionHandler and IgnoreExceptionHandler now use the JDK 9 Platform Logging API, i.e. System.Logger
  • Add rewind batch feature to the BatchEventProcessor
  • Add a maximum batch size argument to BatchEventProcessor
    • EventHandler::onBatchStart now gets both the batchSize as well as queueDepth (previously it had batchSize which reported queue depth)
  • Added documentation to EventPoller
  • Util::log2 throws if passed a non-positive argument
  • Deprecations
    • Deprecated ThreadHints.onSpinWait()
    • Deprecated Disruptor.handleExceptionsWith() - this had been javadoc deprecated since 2015 but not in the code
    • Removed previously deprecated methods
      • Ringbuffer.resetTo()
      • ConsumerRepository.getLastSequenceInChain()

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 9am on the first day of the month"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

@solrbot solrbot added the exempt-stale Prevent a PR from going stale label Jul 2, 2026
@github-actions github-actions Bot added the dependencies Dependency upgrades label Jul 2, 2026
renatoh and others added 27 commits July 14, 2026 10:16
mm.autoRelax doesn't actually work with this QParser and doesn't make sense for it either.

(augments/fixes apache#4406)

(cherry picked from commit cfaafac)
buildCache.local.enabled was hardcoded to !isCIBuild, disabling the
local cache on any CI-detected environment. Some CI runners (e.g.
crave) persist the Gradle user home across builds and benefit from
local caching, unlike typical ephemeral CI. Setting
org.gradle.caching=true now overrides the CI-based default instead
of requiring a change to CI detection itself.

(cherry picked from commit 0536a39)
Also some refactoring:
Split verifyUnpacked into verifySrcUnpacked and verifyBinaryUnpacked,
removing the content-presence checks for the source release (the build
failing is sufficient signal). Extract unpack() so call sites explicitly
pair unpack + the appropriate verify function. Drop unused args and dead
code from each verify function.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit 1d5f493)
Avoids ASF license header requirements.
/.*
/dev-docs
AGENTS.md

(cherry picked from commit dd5dc65)
smokeTestRelease.py: simplify Java version handling, add tmp-dir reuse

Remove the --test-alt-java option: it added real complexity (parallel
alt-JDK homes/runners/versions, a per-JDK unpacked-distribution copy)
for a feature that was never actually exercised with a different JDK
and had already caused real bugs.
Re-testing with another JDK is simpler done by re-running the script
under a different JAVA_HOME instead.

Relax the JAVA_HOME check from an exact match to a floor (must be at
least the base version) so that workflow actually works, rather than
rejecting any JDK newer than the pinned base version outright.

Add --reuse-tmp-dir so a re-run can reuse an existing --tmp-dir's
already-downloaded artifacts, signatures, and maven tree instead of
re-fetching everything from the network.
Print the exact re-run command, with a JAVA_HOME=/path/to/java prefix,
both right after the tmp dir is set up and again on success, so it is
visible even if a later step fails.

(cherry picked from commit 642b0b0)
…apache#4512)

Querying root (top-level) documents no longer requires the verbose existence-negation idiom:

  Before: fq=*:* -_nest_path_:*
  After:  fq=_nest_path_:\/

NestPathField now extends StrField instead of SortableTextField/CustomAnalyzer. Lucene's query parser bypasses getFieldQuery() for "tokenized" field; switching to an untokenized StrField fixed it.  It's also simpler.  The field is now a bit more strict about misconfiguration that was previously allowed.  It doesn't support stored=true anymore but it's not needed anyway.

(cherry picked from commit 83422bb)
)

branch_9x:
* Got rid of pattern matching for instanceof because of using source java 11.
* Adjusted CollapsingSearch benchmark due to changes in Solr API.
motivation: architecturally simpler even though more lines.

And removed unused gradle plugin "undercouch.download"

(cherry picked from commit 3bd2ede)
(cherry picked from commit 1932173)
(cherry picked from commit 51557ec)
(cherry picked from commit aa5179d)
apache#4639)

Fixed HttpJdkSolrClient leaking an executor thread when an async request's connection failed while its body was still being written; enough such failures could exhaust the client's thread pool.

(cherry picked from commit aa9e3f1)
(cherry picked from commit ca51b1b)
The /admin/info/logging endpoint (or just a test) could yield partial logging hierarchies after log4j was upgraded.  It should now be robust.

(cherry picked from commit 824bab9)
And path enforcement

(cherry picked from commit 6c793d5)
Fixes a temporary regression from apache#4665

(cherry picked from commit 14405d7)
9x delta: uses StatisticsHandler.setGracefulShutdownWaitsForRequests(true) instead of Jetty 12's GracefulHandler, which doesn't exist in Jetty 10.

(cherry picked from commit 0c3d2f8)
(cherry picked from commit ef212f0)
(cherry picked from commit 09fd8d2)
(cherry picked from commit 1aa47ef)
@epugh

epugh commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

I goofed this one.. Going to close.

@epugh epugh closed this Aug 24, 2026
@solrbot

solrbot commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@solrbot
solrbot deleted the renovate-9x/major-logging branch August 24, 2026 00:43
@epugh epugh changed the title Update dependency com.lmax:disruptor to v4 (branch_9x) Abandoned Update dependency com.lmax:disruptor to v4 (branch_9x). (Please create new one) Aug 24, 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.