SERVER-129716ClosedFixed

Multikey transition race during CBR sampling results in tassert

samplingCE's sample generation can yield, which results in the following race: * a collection has an index that is initially not multikey * the query planner gets called on it. it reads the catalog, and fetches the index as not multikey * after that, but before sampling ce generates the samples, a document is inserted to the collection that makes the index mulktikey * during index seek estimation, [CardinalityEstimator|https://github.com/10gen/mongo/blob/f4015024ff68fdbb90a8e74762a5d0494

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.0.0-rc38.3.16
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
CBRbkpfound-by-fuzztest