Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-213

Make special commands (inprog, killop, unlock) go through the standard command codepath

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      JAVA-1719 Done 3.2.0
      PYTHON-979 Done 3.2
      PERL-558 Done 1.2.0
      CXX-684 Done
      CDRIVER-888 Done 1.2.0
      CXX-683 Won't Fix
      PHPLIB-126 Won't Fix
      CSHARP-1362 Done 2.2
      RUST-22 Works as Designed
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion JAVA-1719 Done 3.2.0 PYTHON-979 Done 3.2 PERL-558 Done 1.2.0 CXX-684 Done CDRIVER-888 Done 1.2.0 CXX-683 Won't Fix PHPLIB-126 Won't Fix CSHARP-1362 Done 2.2 RUST-22 Works as Designed

      Previously killOp, currentOp, and fsyncUnlock were implemented as queries on special system collections.

      There are all being re-implemented as normal commands, with names taken from the corresponding shell helpers.

      The name of command for the old "$cmd.sys.killop" system collection will be "killOp". As before it will have an "op" parameter indicating the operation that is being killed.

      The name of the command for the old "$cmd.sys.unlock" system collection will be "fsyncUnlock" (to match fsyncLock).

      The name of the command for the old "$cmd.sys.inprog" system collection will be "currentOp".

      The behavior of the actual commands will be nearly unchanged - except for slightly improved error handling for incorrect parameter types.

      UPDATE: there is a minor behavior change in currentOp/inprog - the currentOp operation itself will now appear in the "inprog" array of returned operations (similar to 'ps' on unix systems).

      The server will deprecate the system collections in MongoDB 3.2.x. We anticipate that they will be removed in subsequent releases.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: