SERVER-137120ClosedFixed

Encode query settings into join plan cache key

The classic plan cache key [encodes query settings|https://github.com/10gen/mongo/blob/f5541773c70ff776becf870803ca2835a58f08af/src/mongo/db/query/plan_cache/plan_cache_key_info.h#L47] so that the same shaped query run under a different configuration of query settings will not hit the cache entry. We should do a similar encoding for the join plan cache key.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
M2join-plan-cachejoin-pqsnew-eng