Blog Archives

Beware of the dreaded passive arbiter!

Seen this: { “$err” : “not master or secondary, can’t read”, “code” : 13436 }?
When you give MongoDB arbiter nodes a priority, they act up as a passive secondary. And everyone believes them.

Tagged with: , ,
Posted in Coding

MongoDB: when documents aren’t perfect, cope with it

MongoDB is a NoSQL database that organizes data as JSON documents in collections instead as rows in tables. One major difference between a document in a collection and a row in a table is that while all rows in a

Tagged with:
Posted in Coding