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

reporting in currentOp with certain commands, findAndModify, getLastError could be better

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Diagnostics
    • None
    • ALL

    Description

      Reporting of commands which invoke further processing in currentOp() could be more intuitive, for example extra description could be added to sub-ops. To reproduce:

      mongo <mongod>
      > while( true ){ db.findAndModify({}); sleep(1) }

      mongo <mongod>
      > while( true )

      { printjson( db.currentOp() ); sleep(1) }

      Sub-ops reported in various completion states, no way to know what the root cause was. Repeated GLE can also result in empty currentOp()s.

      Attachments

        Activity

          People

            Unassigned Unassigned
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: