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

Fix thread hang in flow framework issue #413

Merged
merged 4 commits into from
Jan 17, 2024

Conversation

zane-neo
Copy link
Contributor

Description

When deprovisioning, the thread could be blocked forever and causing cluster status unstable, we need to make the time consuming part to dedicated threadpool to avoid blocking.

Issues Resolved

NA

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.

Signed-off-by: Daniel Widdis <[email protected]>
dbwiddis
dbwiddis previously approved these changes Jan 17, 2024
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

Copy link
Member

@amitgalitz amitgalitz left a comment

Choose a reason for hiding this comment

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

Thanks for this fix!

@dbwiddis dbwiddis dismissed their stale review January 17, 2024 17:51

failing tests

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c6e6ed2) 71.83% compared to head (e07b10e) 71.84%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #413   +/-   ##
=========================================
  Coverage     71.83%   71.84%           
- Complexity      613      614    +1     
=========================================
  Files            79       79           
  Lines          3082     3083    +1     
  Branches        237      237           
=========================================
+ Hits           2214     2215    +1     
  Misses          763      763           
  Partials        105      105           

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

@dbwiddis dbwiddis merged commit bf2cad0 into opensearch-project:main Jan 17, 2024
25 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 17, 2024
* Fix hang in flow framework

Signed-off-by: zane-neo <[email protected]>

* Fix spotless

Signed-off-by: Daniel Widdis <[email protected]>

* Fix tests to account for async delay

Signed-off-by: Daniel Widdis <[email protected]>

* Update GHA version for security tests

Signed-off-by: Daniel Widdis <[email protected]>

---------

Signed-off-by: zane-neo <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Co-authored-by: Daniel Widdis <[email protected]>
(cherry picked from commit bf2cad0)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis added a commit that referenced this pull request Jan 17, 2024
Fix thread hang in flow framework issue (#413)

* Fix hang in flow framework



* Fix spotless



* Fix tests to account for async delay



* Update GHA version for security tests



---------




(cherry picked from commit bf2cad0)

Signed-off-by: zane-neo <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Daniel Widdis <[email protected]>
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.

3 participants