SERVER-137331ClosedFixed

Encapsulate join plan cache logic and move it out of join/executor.cpp

Currently, a lot of the core logic for join plan caching, e.g. baseline trial (after SERVER-136737), index fingerprint invalidation logic, etc are handled in join/executor.cpp. For better modularity, we should move the join plan cache logic out and encapsulate it in a class that abstracts away the necessary state and logic.

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-cache