SERVER-139354In Progress

Respect collMod sample size setting in read path

SERVER-137869 will update the write path (`analyze`) to choose sample sizes set in collMod over the knob configuration if set. The read path needs to mirror that logic and respect samples set via collMod as well. If not, samples that are smaller than the knob configuration will be rejected even when they are the correct size (set by collMod). This means the read path will silently fall back to on-the-fly sampling, wasting resources. For this ticket, we want to update the read path to respe

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
analyze-hardening