Skip to content

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