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
Replace usage of deprecated "safe" option with "w" #655
Milestone
Comments
ghost
assigned jmikola
Aug 9, 2013
Hello, I have the same problem. Have a good day |
Hello, To fix the problem, it is only a modifcation in the SchemaManager Line 239? If this is so, I can provide a pull request. |
@Engerim: This isn't specific to SchemaManager. I believe it's also a concern for the configuration options, which specifies defaults used for write ops unrelated to index management, too. |
This should be fixed by #848. |
jmikola
added a commit
that referenced
this issue
Apr 9, 2014
Doctrine MongoDB already converts "safe" to "w" (doctrine/mongodb@c7b6ef9) but it's wise to use the correct option anyway. Fixes #655.
jmikola
added a commit
that referenced
this issue
Apr 9, 2014
Depending on the driver version, "w" or "safe" should be set by default. doctrine/mongodb#168 may make this unnecessary, but there's no reason ODM cannot be explicit. Fixes #655.
jmikola
added a commit
that referenced
this issue
Apr 10, 2014
Depending on the driver version, "w" or "safe" should be set by default. doctrine/mongodb#168 may make this unnecessary, but there's no reason ODM cannot be explicit. Fixes #655.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Driver 1.5+ formally deprecates use of the "safe" option for write concerns. Code should be changed to use "w".
The text was updated successfully, but these errors were encountered: