Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-91615

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Vojislav Stojkovic
            Reporter:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: