BugZero found this defect 19 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/30/2024
MongoDB Server
4.2.0
4.4.0
5.0.0
6.0.0
7.0.0
8.0.0-rc0
No fixed releases provided.
SERVER-41766 introduced a side transaction to commit multikey metadata changes immediately and independently of the parent multi-document transaction to avoid a corner case resulting in an infinite prepare conflict. However, wildcard indexes maintain the multikey metadata paths inside the index table itself, which is different from other indexes which maintain them inside the catalog table, and the code neglects to wrap wildcard multikey paths maintenance inside the side transaction, making wildcard multikey setting vulnerable to infinite prepare conflicts.