SERVER-138961Backlog

queryStats CBR nDocsSampled inaccurate for small collections

SERVER-130972 changes the semantics of SamplingEstimator::getSampleSize and now it always returns the requested sample size, even if the collection was too small to reach that size, and this ends up at $queryStats.

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
CBR