[Extensions] Replace latches with CompletableFutures for extensions#5646
[Extensions] Replace latches with CompletableFutures for extensions#5646dblock merged 13 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #5646 +/- ##
============================================
- Coverage 70.82% 70.76% -0.07%
+ Complexity 58756 58730 -26
============================================
Files 4770 4770
Lines 280721 280756 +35
Branches 40536 40553 +17
============================================
- Hits 198815 198665 -150
- Misses 65577 65783 +206
+ Partials 16329 16308 -21
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-5646-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 e2abc4702e94d27e24e64d9b5dbce7b3b136c332
# Push it to GitHub
git push --set-upstream origin backport/backport-5646-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.xThen, create a pull request where the |
| - Add query for initialized extensions ([#5658](https://github.com/opensearch-project/OpenSearch/pull/5658)) | ||
| - Revert 'Added jackson dependency to server' and change extension reading ([#5768](https://github.com/opensearch-project/OpenSearch/pull/5768)) | ||
| - Add support to disallow search request with preference parameter with strict weighted shard routing([#5874](https://github.com/opensearch-project/OpenSearch/pull/5874)) | ||
| - Replace latches with CompletableFutures for extensions ([#5646](https://github.com/opensearch-project/OpenSearch/pull/5646)) |
There was a problem hiding this comment.
@ryanbogan Can you move this entry to the [Unreleased 2.x] section of this file since this is going to be released in the next 2.x version? The fact that this entry was in the wrong spot is possibly the reason why the cherry pick had conflicts on the backport. See the contributing doc for details about where to place your changelog entry.
This commit fixes the changelog entry placement error in opensearch-project#5646 Signed-off-by: Andrew Ross <andrross@amazon.com>
This commit fixes the changelog entry placement error in #5646 Signed-off-by: Andrew Ross <andrross@amazon.com> Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Ryan Bogan rbogan@amazon.com
Description
Removes latches and CompletableFuture .get() calls to make requests asynchronous
Issues Resolved
opensearch-project/opensearch-sdk-java#292
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.