Skip to content

Reapply "Update the IOContext rather than the ReadAdvice on IndexInput (#14702)"#14844

Merged
thecoop merged 5 commits intoapache:mainfrom
thecoop:reapply-readadvice-iocontext
Aug 8, 2025
Merged

Reapply "Update the IOContext rather than the ReadAdvice on IndexInput (#14702)"#14844
thecoop merged 5 commits intoapache:mainfrom
thecoop:reapply-readadvice-iocontext

Conversation

@thecoop
Copy link
Contributor

@thecoop thecoop commented Jun 25, 2025

Reapply #14702

@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

@thecoop
Copy link
Contributor Author

thecoop commented Jun 25, 2025

@dweiss The tests here all pass, what's the original failure with #14702 ?

@dweiss
Copy link
Contributor

dweiss commented Jun 25, 2025

Don't know if you're subscribed -
https://lists.apache.org/list.html?builds@lucene.apache.org

Tests are randomized - sometimes a different reshuffle of components may not succeed after a patch. Here's an example:
https://ci-builds.apache.org/job/Lucene/job/Lucene-Check-main/13302/console

I haven't tried if it reproduces or not - I'm very limited today - seems like the builds have gone back to normal after I reverted the patch though, so something is not right?

@thecoop
Copy link
Contributor Author

thecoop commented Jun 25, 2025

Yes, that's caused by this PR... It reproduces, but only intermittently...

@dweiss
Copy link
Contributor

dweiss commented Jun 25, 2025

I get a high failure ratio with this:

./gradlew :lucene:core:test  --tests "org.apache.lucene.index.TestConcurrentMergeScheduler.testNoWaitClose" -Ptests.file.encoding=US-ASCII -Ptests.forceintegervectors=true -Ptests.gui=true -Ptests.haltonfailure=false -Ptests.jvmargs= -Ptests.jvms=4 -Ptests.multiplier=2 -Ptests.vectorsize=128 -Ptests.iters=50 -Ptests.seed=ACE84AE4C131D76C

@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

@github-actions
Copy link
Contributor

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2025

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

Copy link
Contributor

@msokolov msokolov left a comment

Choose a reason for hiding this comment

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

LGTM. I'm still kind of wary about the multiple abstractions: what impact will the hint actually have? I guess it depends on how the Directory chooses to interpret it? But this seems like progress!

@thecoop thecoop merged commit a43c02d into apache:main Aug 8, 2025
8 checks passed
@thecoop thecoop deleted the reapply-readadvice-iocontext branch August 8, 2025 14:54
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.

5 participants