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

[6.x] Add WSREP communication link failure for lost connection detection #36668

Merged
merged 1 commit into from
Mar 19, 2021
Merged

[6.x] Add WSREP communication link failure for lost connection detection #36668

merged 1 commit into from
Mar 19, 2021

Conversation

mbardelmeijer
Copy link
Contributor

We use Percona XtraDB Cluster for MySQL master-master replication. If the cluster goes into split brain mode and every node is non-Primary, the following error is triggered:

SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use

Most of the time this is resolved quickly, but using the database driver will get stuck as it doesn't retry the connection.

This PR adds that specific error to the retry connection logic.

@taylorotwell taylorotwell merged commit 5df09b1 into laravel:6.x Mar 19, 2021
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.

2 participants