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