-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
$setWindowFields desugars to {$sort: {..., $_internalOutputSortKeyMetadata: true}} plus $_internalSetWindowFields. The sort-key metadata dependency reaches the base collection CanonicalQuery, the planner puts a SORT_KEY_GENERATOR on top of the access plan, and CBR has no estimate for that node in single_table_access.cpp. A plain {$sort: {_id: 1}} suffix does not trigger it.
assert: command failed: { "errmsg" : "Missing estimate for winning single-table plan's root QSN", "code" : 11514601, "codeName" : "Location11514601" } Tripwire assertion: src/mongo/db/query/compiler/optimizer/join/single_table_access.cpp:173 accessPlanForFilterWithDerivedPredicates
- related to
-
SERVER-139003 Report specific join optimization fallback reasons from singleTableAccessPlans()
-
- Open
-