SERVER-139159ClosedFixed

Remove samplingMethod from analyze calls in analyze_sample_persist_unreplicated.js

SERVER-137870 removed the {{samplingMethod}} and {{numChunks}} fields from the {{analyze}} command and updated the existing tests. {{jstests/noPassthrough/query/query-optimization/analyze_sample_persist_unreplicated.js}} was split out by SERVER-138718 after that PR was branched, and still passes {{{}samplingMethod: "random"{}}}. Both cases now fail with {{IDLUnknownField}} (40415) before reaching the unreplicated-collection check.

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

No labels assigned.