Make it easy to query currentOp when there are no ingress admission tickets available

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • v8.0
    • Workload Scheduling 2024-07-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When there are no ingress admission tickets available, trying to list current operations using db.currentOp() in mongosh will stall until a ticket is released. This can make it hard to diagnose servers. The current workaround is to use the currentOp admin command instead, but that command is deprecated.

      Since version 6.2, mongosh implementation of db.currentOp() uses the $currentOp aggregation stage instead of the currentOp command. The aggregate command is one of the commands that require an ingress admission ticket, whereas the currentOp command can proceed without a ticket.

      We need to either allow the aggregate command to proceed without a ticket if it uses the $currentOp stage, or "undeprecate" the currentOp command.

            Assignee:
            Vojislav Stojkovic
            Reporter:
            Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: