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

Connection should not fail in case of diego issues #3471

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

iaftab-alam
Copy link
Contributor

@iaftab-alam iaftab-alam commented Oct 11, 2023

During the bosh update of diego-api/bbs or AZ failover the request from CC might fail with 503 - Runner is unavailable. This PR aim to prevent this bbs failover with exponential back-off.

Fixes: #3440

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

During the bosh update of diego-api/bbs or AZ failover the request from
CC might fail with 503 - Runner is unavailable. This PR aim to prevent
this bbs failover with exponential back-off.
lib/diego/client.rb Outdated Show resolved Hide resolved
Copy link
Contributor

@johha johha left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@johha johha merged commit b2464ff into cloudfoundry:main Oct 12, 2023
5 checks passed
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.

'PATCH v3/apps' should not fail in case bbs instance is unavailable
2 participants