Transactions in MongoDB
blog.mongodb.org
blog.mongodb.org
Edit: To address the issue of the total number decrement needed above, there is the two-phase commit, but then you're getting into something that isn't a transaction, by definition, and is more along the lines of eventual consistency.