how to solve this transaction error in mlab? [MongoError: Transaction numbers are … support document-level locking]

后端 未结 3 2225
北荒
北荒 2021-02-19 10:35

I\'m trying to do a simple transaction using mongoose. It worked totally fine on MongoDB Atlas, but in mlab I got such an error: Mon

3条回答
  •  终归单人心
    2021-02-19 11:04

    mlab.com runs mongodb 3.6, while the newest is 4.2.x and tools, db connectors, etc., want to use 4.x features.

    In short, mlab.com is outdated.

提交回复
热议问题