-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
CAR Team 2025-10-27
-
🟦 Shard Catalog
-
None
-
None
-
None
-
None
-
None
-
None
Wildcard indexes are effectively sparse indexes, even though they are not explicitly marked as sparse in the catalog.
I suggest updating IndexDescriptor::isSparse() to return true for wildcard indexes.
This will prevent bugs caused by code that rely on this method to implement a different behavior for sparse indexes, like SERVER-103774.
- is related to
-
SERVER-9639 2dsphere indexes with {2dsphereIndexVersion:2} should be sparse on geo fields
-
- Closed
-
-
SERVER-103774 Disallow compound wildcard indexes from being used as a shard key index
-
- Closed
-