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

Use provisioning thread pool in Process Node #374

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Jan 5, 2024

Description

Uses our own provisioning thread pool instead of the generic thread pool in the ProcessNode. (All other thread pool usages are already using it.)

Issues Resolved

Fixes #366
Fixes #61

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.

Copy link

codecov bot commented Jan 5, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ad3b3ba) 72.30% compared to head (6fe39a2) 72.30%.

Files Patch % Lines
...rk/transport/ProvisionWorkflowTransportAction.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main     #374   +/-   ##
=========================================
  Coverage     72.30%   72.30%           
  Complexity      578      578           
=========================================
  Files            72       72           
  Lines          2986     2986           
  Branches        231      232    +1     
=========================================
  Hits           2159     2159           
  Misses          723      723           
  Partials        104      104           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@owaiskazi19 owaiskazi19 left a comment

Choose a reason for hiding this comment

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

One small comment. Rest LGTM! Thanks

@joshpalis
Copy link
Member

Flaky tests will be handled by #377

@dbwiddis dbwiddis merged commit 7419e9f into opensearch-project:main Jan 5, 2024
14 of 21 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 5, 2024
(cherry picked from commit 7419e9f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Jan 5, 2024
(cherry picked from commit 7419e9f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dbwiddis dbwiddis deleted the process-node-thread branch January 8, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Update ProcessNode to use the plugin's thread pool [FEATURE] Better Thread Pool integration
4 participants