-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Open and Close PIT for Reindexing #143248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
joshua-adams-1
merged 66 commits into
elastic:main
from
joshua-adams-1:reindexing-resilience-full
Mar 13, 2026
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
28bc7f9
Initial plumbing - need to address TODOs
joshua-adams-1 9427763
Creates Reindexer.lookupRemoteVersion
joshua-adams-1 3430f18
Refactor RemoteScrollableHitSource to use the utils class
joshua-adams-1 66f7deb
Clean up code
joshua-adams-1 a434f0d
Clean up TODOs
joshua-adams-1 7516540
[CI] Auto commit changes from spotless
1739e0f
Nits
joshua-adams-1 a805729
Move remote lookup into execute
joshua-adams-1 d5471f0
Add Tests
joshua-adams-1 b0c22a9
Merge branch 'main' into reindexing-plumb-pittable-hit-source
joshua-adams-1 6b86337
Merge conflicts
joshua-adams-1 61b187a
Merge branch 'reindexing-plumb-pittable-hit-source' of github.com:jos…
joshua-adams-1 13bdc0b
[CI] Auto commit changes from spotless
1dd0afc
Clean up
joshua-adams-1 9cf2f11
Merge branch 'reindexing-plumb-pittable-hit-source' of github.com:jos…
joshua-adams-1 460140c
[CI] Auto commit changes from spotless
5fd8ab0
Update RemoteScrollablePaginatedHitSourceTests to randomly set remote
joshua-adams-1 298f6fb
Merge branch 'reindexing-plumb-pittable-hit-source' of github.com:jos…
joshua-adams-1 6192133
Merge branch 'main' into reindexing-plumb-pittable-hit-source
joshua-adams-1 ec2517b
Close REST client
joshua-adams-1 3ba1670
[CI] Auto commit changes from spotless
363f2c2
Add retry logic to remote version lookup
joshua-adams-1 2a4e999
Add retry logic unit tests
joshua-adams-1 5899ba4
Merge branch 'reindexing-plumb-pittable-hit-source' of github.com:jos…
joshua-adams-1 04fe410
Merge branch 'main' into reindexing-plumb-pittable-hit-source
joshua-adams-1 8552f60
Merge main
joshua-adams-1 fd5aed5
Open and Close PIT for reindexing
joshua-adams-1 710daf6
Fix unit tests
joshua-adams-1 6790f2f
Wrap listener in metrics
joshua-adams-1 3378322
Add unit tests for RemoteReindexingUtils, RemoteRequestBuilders and
joshua-adams-1 a03ef53
Add ReindexerTests
joshua-adams-1 e58bd07
Spotless apply
joshua-adams-1 1067741
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 d1c9a09
Merge main
joshua-adams-1 3af6d7c
Fix tests post merge
joshua-adams-1 1dbc15f
Nits
joshua-adams-1 57ac7a1
Remove FQ imports
joshua-adams-1 5759987
Add metric IT
joshua-adams-1 aaed267
Remove TODO
joshua-adams-1 ed69ab6
Unused imports
joshua-adams-1 d56a445
[CI] Auto commit changes from spotless
c742468
Fix parser and remove build.gradle changes
joshua-adams-1 549e152
Merge branch 'reindexing-resilience-full' of github.com:joshua-adams-…
joshua-adams-1 82c258f
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 4bfdb7e
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 abb675a
[CI] Auto commit changes from spotless
437e6d1
Add assertions to openPit
joshua-adams-1 4e80fbe
Explicitly set allow_partial_search_results to false
joshua-adams-1 5130404
Apply changes to local PIT request
joshua-adams-1 32ed73f
Minor tweaks
joshua-adams-1 437e99a
Merge branch 'reindexing-resilience-full' of github.com:joshua-adams-…
joshua-adams-1 6cc38a9
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 6217e57
Fix cluster feature merge error
joshua-adams-1 2e181ac
Fix test comments
joshua-adams-1 371a786
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 504043d
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 0062697
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 e2b2fb8
Tidy up merge
joshua-adams-1 d7e3e90
Merge branch 'reindexing-resilience-full' of github.com:joshua-adams-…
joshua-adams-1 724866c
Fix failing integ tests
joshua-adams-1 730086d
Add TODO
joshua-adams-1 5756760
Add feature flag block to testCancelEndpointEndToEndSynchronously and…
joshua-adams-1 b89774d
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 86bf142
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 6222af4
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 cf57b30
Merge branch 'main' into reindexing-resilience-full
joshua-adams-1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests fail because:
REINDEX_PIT_SEARCH_ENABLEDfeature flag is enabledThe test flow does not account for the asynchronous waiting of the PIT. I could modify the test to account for both pit and scroll functionality, but since PIT isn't complete yet, it is easier to disable these tests unless we're running with scroll. When PIT is complete, I shall make a PIT specific version of this test. I've made a note of this in https://github.com/elastic/elasticsearch-team/issues/2088 so that I don't forget.