So, call me nuts, but then shouldn’t there be sane defaults? I’ve not set up or tinkered with MongoDB in a looooong time, but that seems like a must for any project.
EDIT: instead of downvoting me explain to me what I said wrong, I’m seriously wondering why it needs to be configured for sane defaults ..
I'm not the one who downvoted, but back when I ran a large critical Mongo setup, essentially the core flag to set when running was 'safe=true' on mongoD. That was it. We had 30~ instances set up with sharding and replication, doing many thousands of operations per second at peak during the day. It was a great tool then, and I'm sure it's even better now. It was just fun to hate on it so people with 0 experience using it joined in.
Back when I ran a larget critical mongo setup, developers had all sorts of problems due to bad poor transactional support.
Why wouldn't you just use postgres with jsonb data type?
Is a feature that's only been around for a couple of years really a suitable answer for a "back when" anecdote?
Safe = false was set that way to game benchmarks and it caused people to lose mission critical data if they didn’t realize and reconfigure. It’s just sad to make such nonoptimal decisions to inflate benchmarks and get PR
The days of "STFU and RTFM" are over. Sane defaults are in the best interest of any product by any company be it a washing machine or database.