ExportXMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1024
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Follow-up to SERVER-134664, which added default-verbosity LOGV2 lines when a query is rejected by maxEstimatedScanBytes (unbounded COLLSCAN exceeding the configured threshold).

      The new log lines are emitted on every rejection without rate limiting, so a burst of rejected queries against one or more large collections can spam the mongod log.

      Rate-limit these rejection log lines using logv2::SeveritySuppressor (or logv2::KeyedSeveritySuppressor keyed by namespace, so each offending namespace is logged once per time window).

            Assignee:
            Kyle Burgess
            Reporter:
            Kyle Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: