-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Allow QueryRewriteContext to perform async actions on remote clusters #138124
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
Mikep86
merged 35 commits into
elastic:main
from
Mikep86:query-rewrite_remote-async-actions
Nov 24, 2025
Merged
Changes from 32 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
9ee1813
Updated QueryRewriteContext to execute remote async actions
Mikep86 b6e329c
Resolve TODO
Mikep86 034d1f5
Added skeleton for QueryRewriteContextRemoteAsyncActionIT
Mikep86 a9534c1
Simplified test setup
Mikep86 59ef48a
Added test stubs
Mikep86 c6b1e64
Implemented test query rewrite logic
Mikep86 1851f49
Renamed variables
Mikep86 77210cb
Fix warnings
Mikep86 ffc99bb
Implemented testCallRemoteAsyncAction
Mikep86 84e2e51
Use search coordination thread pool
Mikep86 8d08360
Implemented testInvalidClusterAlias
Mikep86 9308455
Rename integration tests
Mikep86 41c00af
Merge branch 'main' into query-rewrite_remote-async-actions
Mikep86 7590440
Removed testRemoteClusterUnavailable
Mikep86 bb9c21d
Moved QueryRewriteContextMultiClustersIT to security plugin
Mikep86 167c019
Updated `InternalTestCluster` to use clients with origins set for int…
Mikep86 ef12db4
Updated AbstractMultiClustersTestCase to optionally take a custom nod…
Mikep86 375e609
Updated AbstractMultiClustersTestCase to use clients with origins set…
Mikep86 6c57f3b
Updated QueryRewriteContextMultiClustersIT to run with and without se…
Mikep86 5116eea
Updated test cluster classes to use internal clients for cluster mana…
Mikep86 8c88ffb
Fix license header
Mikep86 e6cc49d
Temporarily resolve jar hell
Mikep86 d859290
Merge branch 'main' into query-rewrite_remote-async-actions
elasticmachine ecda1fe
Make internal client origin configurable
Mikep86 ab45505
Cleanup security index
Mikep86 19abecc
Updated remote async actions to use thread context
Mikep86 a8c7661
Make a copy of remote async actions map
Mikep86 1b9c788
Use a custom security settings source
Mikep86 9596ecd
Configure the client to use the test user when security is enabled
Mikep86 6afaec7
Updated test query to set origin
Mikep86 a543197
Added tests where origin is and is not set
Mikep86 ef28a9d
Merge branch 'main' into query-rewrite_remote-async-actions
elasticmachine 560475f
Merge branch 'main' into query-rewrite_remote-async-actions
Mikep86 dad30f5
Temporarily disable testInvalidClusterAlias when security is enabled
Mikep86 4fa6794
Resolve TODO
Mikep86 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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.