Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简而言之,使用 Python,我可以:
client.write_concern = { 'w': 1, 'j': True, 'fsync': True }
为了:
mongod
fsync
但无论如何我不认为用 Meteor 来做这件事。有办法吗?
我认为默认情况下它已经这样做了:
如果你看到包裹https://github.com/meteor/meteor/blob/master/packages/mongo-livedata/mongo_driver.js
https://github.com/meteor/meteor/blob/master/packages/mongo-livedata/mongo_driver.js
启用安全(这是为了确认写入)
var options = {db: {safe: true}};