Can anyone elaborate on this topic?
Let me give an example to make it more simple.(I’m using node.js, Mongo DB and Mongoose with transactions)
- I make a query to the inventory collection to check if I have sufficient stock
- If stock is sufficient then the order will be placed
So my question is, can some other user manipulate the inventory while a transaction is ongoing?