-
-
Notifications
You must be signed in to change notification settings - Fork 455
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 master-slaves deprecation from dbal 2.11 #1215
Conversation
You should rather report a BC break in DBAL repo. |
I'm quite sure this PR makes a BC break in the bundle config by removing support for What we need is a proper migration to the new names, where the bundle config also uses them and deprecates My proposal is to fix only the commands in that PR (to fix compat with 2.11), and perform the master/slave to primary/replicas in the config in a separate PR. @ostrolucky no. The 2 commands are using |
@stof I'm agree with you. I modify this PR to fix only the commands |
2dcaf44
to
ff8d3a0
Compare
ff8d3a0
to
3f614d1
Compare
|
Let's merge after doctrine/dbal#4308 is merged. If we merge this first, there will no longer be a pressure to fix a BC break in DBAL. This is not a pressing issue, people can just hold off from upgrading dbal. |
Since dbal 2.11 MasterSlaveConnection is deprecated and the
doctrine:database:create
anddoctrine:database:drop
commands no longer work with the "slaves" option. doctrine/dbal#4054Issue : #1214