mongodb bulk write all or nothing?
MongoDB transactions are always atomic on single document. However, if it involves multiple documents transactions are not atomic. 

Coming to Bulk operations, there is no transactions concept. For example, you are inserting 100 documents in a collection, if 51st insert fails, MongoDB will not insert the remaining documents in the list as it executes the bulk operations serially.