I have multiple publish/subscribe servers that attempt to update a MongoDB database as events occur. Currently I am running into an issue where I need to atomically add entries to a given MongoDB document array, but am running into a race condition when it comes to who adds the entry into the document. I'm attempted to use I have multiple publish/subscribe servers that