-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
[5.3] Deferring write connection doesn't work #15359
Comments
+1 |
Hello @acasar :) |
@themsaid Wasn't my PR :) Maybe #15031 by @patrickcarlohickman or #11615 by @stevenmyhre? |
@acasar Thank you and sorry to bother 😅 |
I've updated the version of Laravel mentioned from 5.3.6 to 5.3.11 (current latest) and the issue still happens. |
fixe din #16422 |
taylorotwell
pushed a commit
that referenced
this issue
Dec 6, 2016
issue #15359 fixed in version 5.2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Steps To Reproduce:
An exception is thrown because it can't connect to the write database. But as I'm not doing a query against the write database I shouldn't get this error.
Below is the stack trace I get:
It looks like this is the code causing the problem is class
Illuminate\Database\Connection
:I understand it reconnecting but I would have thought it makes more sense to do it on connections that are needed.
The text was updated successfully, but these errors were encountered: