|
Start mongod and execute:
db.batch_write_collation_estsize.bulkWrite([{
|
updateOne: {
|
filter: { str: 'FOO' },
|
update: { $set: { str: 'BAR' } },
|
collation: {
|
locale: 'en_US',
|
caseLevel: false,
|
caseFirst: 'off',
|
strength: 3,
|
alternate: 'non-ignorable',
|
maxVariable: 'punct',
|
normalization: false,
|
backwards: undefined
|
}
|
}
|
}])
|
(This code was generated by the JS fuzzer.)
mongod crashes:
"msg":"Invariant failure","attr":{"expr":"collation->getBackwards().is_initialized()","file":"src/mongo/db/query/collation/collator_factory_icu.cpp","line":399
|
|