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

Allow $currentOp to retrieve operations from all members of each shard in a cluster

    • Query Execution
    • Fully Compatible
    • QE 2023-05-29, QE 2023-06-12, QE 2023-06-26

      With the introduction of the $currentOp aggregation stage, users have the ability to obtain a list of operations running on Secondaries in a sharded cluster by setting the appropriate readPreference. However, this will only provide the operations from a single eligible Secondary in each shard, and the standard approach to more fine-grained targeting - using replica set tags - is both onerous and does not satisfactorily address this shortcoming.

      Add a new flag to $currentOp which, if set, stipulates that it should target every data-bearing member in each shard and return an exhaustive list of all operations running anywhere in the cluster.

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            1 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: