木木木木木sssssssssssssss
session = db.getMongo().startSession( { mode: “primary” } ) session.startTransaction( { readConcern: { level: “snapshot” }, writeConcern: { w: “majority” } } ) tcc = session.getDatabase(“test”).test
session.commitTransaction() session.abortTransaction()