【发布时间】:2018-07-25 10:14:16
【问题描述】:
如果我在 mongodb 中启用 retryable-writes 并执行以下插入
await db.collection('inventory').insertOne({
item: 'canvas',
qty: 100,
tags: ['cotton'],
size: { h: 28, w: 35.5, uom: 'cm' }
});
是否有可能在某些情况下,驱动程序插入了两条相同的记录?
【问题讨论】:
标签: mongodb