Hello,
I’ve been writing my first application that uses MongoDB, it’s been going well. Now I have a need for transactions for the first time.
I followed this tutorial: How to Use MongoDB Transactions in Node.js | MongoDB Blog
I get “MongoError: This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.”
If I understand correctly, Transactions internally use “retryable writes”, and my local standalone server does not support it. Is my assumption correct?
Assuming the answer was yes, how do I get around this during development time?
Certainly, in production we will use a cloud-based mongodb with all the bells and whistles. However how can I get past this quickly on our dev machines without investing too much time?
Some of us use the mongodb binary directly, some use the docker image.