mongodb / mongo-perf

performance tools for mongodb
351 stars 140 forks source link

SERVER-90103 Fix compound_wildcard_index_insert.js workload #161

Closed RuoxinXu closed 5 months ago

RuoxinXu commented 5 months ago

Thanks for submitting a PR to the Mongo-Perf repo. Please include the following fields (if relevant) prior to submitting your PR.

Jira Ticket: SERVER-90103

Whats Changed: This patch fixes a write workload of compound wildcard index. The workloads were inserting documents with duplicateKey error because the documents to insert were not changed in every batch insert. Remove the _id field in the generated documents to prevent the error.