Skip to content
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

Safe mode is deprecated ! use write concern instead #10

Open
Frescha opened this issue Dec 5, 2013 · 1 comment
Open

Safe mode is deprecated ! use write concern instead #10

Frescha opened this issue Dec 5, 2013 · 1 comment

Comments

@Frescha
Copy link
Contributor

Frescha commented Dec 5, 2013

in logstore mongo the uri default to safe_mode. It is not safe anymore to use this. Write concerns are a mych better way of dealing with consistency. Two parameters are there for this purpose.
First w will check write consistency (write consistencty is about write to mongo node not write to disk)
Second j will check journaling (write to disk).

http://api.mongodb.org/python/2.4.2/api/pymongo/mongo_client.html?highlight=write%20concerns

@Frescha
Copy link
Contributor Author

Frescha commented Dec 5, 2013

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

No branches or pull requests

1 participant