The problem is that MongoDB is not well suited for using transactions. In order to do them, we will need to replicate the mongo databases. This is done with the command
mongodb container replica set
This is to be done with Docker and Docker compose to ensure that it'll work in the rest of the services.
The problem is that MongoDB is not well suited for using transactions. In order to do them, we will need to replicate the mongo databases. This is done with the command
This is to be done with Docker and Docker compose to ensure that it'll work in the rest of the services.