-
-
Notifications
You must be signed in to change notification settings - Fork 454
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: Prefer primary config over master. #1258
fix: Prefer primary config over master. #1258
Conversation
New primary config was added in 2.2, so this is the branch this should point to. Also, I'm not really understanding the fix. Why is primary getting overwritten with master if you specify primary? |
@ostrolucky I'm sorry, its not the config, its the params. Both 'master' and 'primary' params are present to because of the BC support in doctrine/dbal's |
If DBAL is adding |
@ostrolucky |
Up to dbal 2.11 initiating connection with |
I managed to trigger a build. |
Thanks @prengerjarno |
Make sure the primary config gets used over the master so it uses the added options when PrimaryReadReplicaConnection is used. #1257