Commit 93a9136
committed
Fix Mongo adapter ignore mode: pass ignoreDuplicates to client and fix _uid mapping
- Pass ignoreDuplicates option to insertMany for race-condition safety
- Extract _uid from raw array before replaceChars (excluded from transformation)
- Map inserted records back to original Document objects by _uid1 parent bee42d4 commit 93a9136
1 file changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1576 | 1576 | | |
1577 | 1577 | | |
1578 | 1578 | | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
1579 | 1583 | | |
1580 | | - | |
| 1584 | + | |
1581 | 1585 | | |
1582 | 1586 | | |
1583 | 1587 | | |
1584 | 1588 | | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1588 | 1596 | | |
1589 | 1597 | | |
1590 | | - | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
1591 | 1610 | | |
1592 | 1611 | | |
1593 | 1612 | | |
| |||
0 commit comments