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 failover functionality for db connection #3074

Closed
wants to merge 2 commits into from

Conversation

michalsn
Copy link
Member

@michalsn michalsn commented Jun 8, 2020

Description
This PR fixes the failover functionality for the database. Right now, even when you define the failover it won't be executed because we always throw an exception when there is a problem with the connection.

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn closed this Jun 8, 2020
@michalsn
Copy link
Member Author

michalsn commented Jun 8, 2020

Sorry, but Travis has some issues.

@michalsn michalsn reopened this Jun 8, 2020
@MGatner
Copy link
Member

MGatner commented Jun 9, 2020

@michalsn Have you reviewed #2992? Could you cross-check there and make sure we have one solid PR with all the pieces working.

@michalsn
Copy link
Member Author

michalsn commented Jun 9, 2020

Doh... I didn't notice it. Thanks for pointing that out, I will try to look into it tomorrow.

@MGatner
Copy link
Member

MGatner commented Jun 9, 2020

It’s all good. I literally just replicated a PR submitted mere hours before, and even got mentioned on it 😅 Happens. Thanks for taking a look! I’m mobile the rest of the day but I can review tomorrow.

@michalsn
Copy link
Member Author

Closing this in favor of #2992

@michalsn michalsn closed this Jun 10, 2020
@michalsn michalsn deleted the db_failover branch June 12, 2020 15:21
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.

None yet

2 participants