SERVER-139096ClosedFixed

Always use JOO sample size regardless of global enablement status

primary code site: [https://github.com/10gen/mongo/blob/599ccaadceb3afe90b11b3d9fd10d9bfe8b4aadf/src/mongo/db/commands/query_cmd/analyze_cmd.cpp#L274-L280] Currently, the analyze command only uses the maximum sample size (between CBR's 384 and JOO's 1063) when JOO is globally enabled. This works for now, but the join team is planning to allow enablement of JOO for specific queries via PQS (even when JOO is not globally enabled). Because of this, we'll need to use JOO's sample size in all c

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-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
analyze-hardening