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

Hide replication-related threads in db.currentOp() output

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Replication
    • Replication

      At present db.currentOp() by default shows replication-related threads such as:

      "WT RecordStoreThread: local.oplog.rs"
      "rsSync"
      "rsBackgroundSync"
      "ReplBatcher"
      

      Often these operations are long running and users may get a wrong impression that there is a performance problem.

      As these can be considered as system operations, it seems reasonable to show them only if {"$all": true} is specified.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: