SERVER-134664ClosedFixed

maxEstimatedScanBytes query rejection is not logged at default verbosity

h2. Summary When a query is rejected because it requires an unbounded COLLSCAN on a collection exceeding the {{maxEstimatedScanBytes}} threshold (SERVER-127688), no log line is emitted at default verbosity to indicate the rejection happened. The only trace in the mongod log is the generic user-assertion log line under the {{ASSERT}} component, which is only emitted at {{LOGV2_DEBUG}} level 1 and thus invisible unless verbosity is explicitly raised (e.g. {{{}db.setLogLevel(-5, "assert"){}}}).

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-rc10249.0.7
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
bkp