Skip to content
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

[Backport 2.x] Add support of .opensearch-knn-model as system index to transport actions #848

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 1b6fd48 from #847

…ions (#847)

* Add thread context stashing to transport actions

Signed-off-by: Martin Gaievski <[email protected]>
(cherry picked from commit 1b6fd48)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team April 7, 2023 18:49
@codecov-commenter
Copy link

codecov-commenter commented Apr 7, 2023

Codecov Report

Merging #848 (28117ec) into 2.x (7562510) will increase coverage by 0.12%.
The diff coverage is 89.61%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##                2.x     #848      +/-   ##
============================================
+ Coverage     85.08%   85.20%   +0.12%     
- Complexity     1082     1090       +8     
============================================
  Files           151      152       +1     
  Lines          4404     4414      +10     
  Branches        393      396       +3     
============================================
+ Hits           3747     3761      +14     
+ Misses          480      474       -6     
- Partials        177      179       +2     
Impacted Files Coverage Δ
...n/plugin/transport/SearchModelTransportAction.java 81.81% <71.42%> (+6.81%) ⬆️
...plugin/transport/TrainingModelTransportAction.java 86.11% <81.81%> (+1.26%) ⬆️
...org/opensearch/knn/common/ThreadContextHelper.java 83.33% <83.33%> (ø)
...main/java/org/opensearch/knn/indices/ModelDao.java 81.55% <91.89%> (-1.12%) ⬇️
...n/plugin/transport/DeleteModelTransportAction.java 100.00% <100.00%> (ø)
.../knn/plugin/transport/GetModelTransportAction.java 100.00% <100.00%> (ø)
...in/transport/TrainingJobRouterTransportAction.java 80.85% <100.00%> (+0.85%) ⬆️

... and 4 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@martin-gaievski martin-gaievski merged commit e17d64e into 2.x Apr 7, 2023
@github-actions github-actions bot deleted the backport/backport-847-to-2.x branch April 7, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants