SERVER-132294ClosedWon't Do

[Join Optimization] Eligibility for join optimization should not depend featureFlagCostBasedRanker

Currently we [consult|https://github.com/10gen/mongo/blob/621283435ecf1259e26cfb3352a92572bc8a9c4a/src/mongo/db/query/compiler/optimizer/join/executor.cpp#L138-L143] featureFlagCostBasedRanker as part of join eligibility checks. The team discussed that we the join flag implies CBR so we should avoid the intertwining of these flags (don't bail out of join is the CBR feature flag is disabled).

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

No labels assigned.