NoSQL Zone is brought to you in partnership with:

Kristina Chodorow is a core contributor to MongoDB. She has written several O'Reilly books (MongoDB: The Definitive Guide, Scaling MongoDB, and 50 Tips and Tricks for MongoDB Developers) and has given talks at conferences around the world, including OSCON, FOSDEM, Latinoware, TEK·X, and YAPC. Her Twitter handle is @kchodorow. Kristina is a DZone MVB and is not an employee of DZone and has posted 52 posts at DZone. You can read more from them at their website. View Full User Profile

MongoDB Changing Default: Now, Write Errors are Reported

11.28.2012
| 3989 views |
  • submit to reddit

I’m really happy to share that, in a coordinated effort, all official MongoDB drivers are changing their defaults to return a response from writes today.

I think that this is kind of a turning point: MongoDB is finally “newbie safe.” You can just spin up a mongod and it’ll default to journaling being on. Then you write to it from a client and it’ll default to telling you if a write didn’t go through.

There are a lot of awesome “quiet” changes like this going into 2.4. I’m actually pretty excited about all these little improvements: sexy features like aggregation and TTL collections are all well and good, but we’re in the process of making some structural improvements that should pay big dividends in the future. Now, back to coding so you guys might actually get some new $-mods in 2.4 :)

Published at DZone with permission of Kristina Chodorow, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)