-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2023-10-16
-
135
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The changes in SERVER-79157 changed the insert into config.collections as part of the create collection coordinator commit to an update. However, the update query is using only the uuid field. Since there is no index on config.collections for the uuid, this is resulting in a collection scan in order to do this update.
We should change this update query to include the _id field so that this query can be done using an index scan rather than a collection scan.