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] Adds transport request retry capability for GetMLTaskStep #193

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 1092325 from #179.

* Added FlowFrameworkMaxRequestRetrySetting and applied this to GetMlTaskStep

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments, creating abstract class RetryableWorkflowStep to initialize the setting update consumer for max retry request setting, passing settings and clusterservice to retryable workflow step instead

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments

Signed-off-by: Joshua Palis <[email protected]>

* Removing retry utils class

Signed-off-by: Joshua Palis <[email protected]>

* Fixing failure unit tests to ensure thread sleep isnt invoked

Signed-off-by: Joshua Palis <[email protected]>

* Addressing PR comments, changing setting name, improving javadoc, removing max value from setting, cancelling future on thread interuppt

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
(cherry picked from commit 1092325)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@owaiskazi19 owaiskazi19 merged commit 862fefe into 2.x Nov 23, 2023
@github-actions github-actions bot deleted the backport/backport-179-to-2.x branch November 23, 2023 08:10
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.

1 participant