The bug is at https://github.com/mongodb/mongo/blob/603ffac833b945fddf962fc450c65bb67c7733a1/src/mongo/db/curop.cpp#L87; specifically, that condition is true for a string, but it should actually check that the key is a BSON object, c.f. https://git.corp.stripe.com/stripe-internal/mongo/blob/da9bfeb1495f2f057498e8ce7d6d4d883e05a97b/src/mongo/db/query/lite_parsed_query.cpp#L804-L816
- links to