SERVER-133702In Progress

[Join Optimization] Pass full set of ready indexes to join plan cache

Currently, we only pass the set of INLJ-eligible ready indexes to fromCachedJoinPlan and use that set of indexes to [reconstruct single table predicate access paths|https://github.com/10gen/mongo/blob/16b7b7c5789c3cbcde7bf8c4ba4f0b36c946f409/src/mongo/db/query/compiler/optimizer/join/reorder_joins.cpp#L634-L649]. This is currently okay because the set of INLJ-eligible indexes (determined by [indexIsValidForINLJ|https://github.com/10gen/mongo/blob/16b7b7c5789c3cbcde7bf8c4ba4f0b36c946f409/src/mong

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
M2join-plan-cache