Skip to content

Conversation

@ChrisHegarty
Copy link
Contributor

@ChrisHegarty ChrisHegarty commented May 9, 2025

)" (elastic#127921)

9.x port of: Revert "Enable madvise by default for all builds (elastic#110159)" elastic#126308

This change did not apply cleanly. In fact this is not strictly a revert, since the change was never actually in 9.x post the Lucene 10 upgrade. However, the semantics of the change still apply - avoid RANDOM everywhere. Even though in 9.x we do set -Dorg.apache.lucene.store.defaultReadAdvice=normal, it is not enough to avoid RANDOM when random is explicitly requested by code.
@ChrisHegarty ChrisHegarty added backport :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.0.1 labels May 9, 2025
@ChrisHegarty ChrisHegarty merged commit 9a41933 into elastic:9.0 May 9, 2025
16 checks passed
@ChrisHegarty ChrisHegarty deleted the 9.0 branch May 9, 2025 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.0.1 v9.0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants