I want to use transactions in my project during development. But transactions require replica sets. I can run a local replica set for development if I have my db on my local machine. Is there any way to do it with M0 Sandbox? Do I have to upgrade to a paid plan for development?
Transactions require MongoDB server versions 4.0 or higher and a replica set setup. Atlas Clusters are replica sets (can also be sharded clusters). See:
-
Cluster Tiers says:
M0
clusters are free sandbox replica set clusters. - FAQ: How does MongoDB Atlas deliver high availability?
- Atlas M0 (Free Tier), M2, and M5 Limitations
Yes you can definitely use transactions on an M0 free tier cluster.
Cheers
-Andrew
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.