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 post_bbr_healthcheck_timeout_in_seconds for backup and restore #235

Merged

Conversation

moleske
Copy link
Member

@moleske moleske commented Mar 31, 2022

unlock

  • post-start waits for server to become healthy with
    api_post_start_healthcheck_timeout_in_seconds, so consistent now
    across post-backup and post-restore
  • still uses default of 60 seconds
  • user can expect the same time now

Authored-by: Michael Oleske [email protected]

Thanks for contributing to the capi_release. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

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

  • I have made this pull request to the develop branch

  • I have run CF Acceptance Tests on bosh lite

unlock

- post-start waits for server to become healthy with
  api_post_start_healthcheck_timeout_in_seconds, so consistent now
  across post-backup and post-restore
- still uses default of 60 seconds
- user can expect the same time now

Authored-by: Michael Oleske <[email protected]>
@sethboyles
Copy link
Member

Since the findings in #230 indicated that api_post_start_healthcheck_timeout_in_seconds doesn't actually affect the other start up scripts, should we use a new config parameter that is more descriptive of what it actually does? E.g. post_bbr_healthcheck_timeout_in_seconds.

@moleske
Copy link
Member Author

moleske commented Mar 31, 2022

I was wondering that as well, which is why I left it in draft mode. I'll go make another commit with a new config parameter

- based on feedback, don't use the post start since that doesn't
  actually affect other start up scripts

Authored-by: Michael Oleske <[email protected]>
@moleske
Copy link
Member Author

moleske commented Mar 31, 2022

If someone has thoughts on tests that should be added let me know. Will take a look to see if something makes sense but probably not since it just passes this value to the script

@moleske moleske changed the title Use api_post_start_healthcheck_timeout_in_seconds for backup and restore Use post_bbr_healthcheck_timeout_in_seconds for backup and restore Mar 31, 2022
@moleske moleske marked this pull request as ready for review April 1, 2022 16:36
@moleske moleske merged commit 0d4f621 into develop Apr 4, 2022
@moleske moleske deleted the bbr-use-api_post_start_healthcheck_timeout_in_seconds branch April 4, 2022 19:22
will-gant pushed a commit to sap-contributions/capi-release that referenced this pull request May 19, 2022
…loudfoundry#235)

* Use post_bbr_healthcheck_timeout_in_seconds for backup and restore
unlock

- still uses default of 60 seconds

Authored-by: Michael Oleske <[email protected]>
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