queues.ingress serverStatus section does not properly report IRRL queueing time

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.0.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Resilience
    • Fully Compatible
    • ALL
    • v9.0
    • Workload Resilience 2026-08-17
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The IRRL attempts to piggyback on the IngressAdmissionController's queue section by using a WaitingForAdmissionGuard with the opCtx's IngressAdmissionContext:
      https://github.com/10gen/mongo/blob/b8fea93958a91d7f8c4966664f444335c35f9739/src/mongo/db/admission/ingress_request_rate_limiter.cpp#L247

      This causes queueing time to show up in CurOp and therefore things like Slow Query logging, since it just looks at the admission context, but this does not actually increment any metrics that end up getting reported in the queues.ingress serverStatus section, which relies exclusively on the IngressAdmissionController's stat reporting.

      To remedy this, we should probably separate IRRL queueing and IngressAdmissionController queueing entirely, potentially by adding a new section to queues or by recording the queueing time separately.

            Assignee:
            Matt Broadstone
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: