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

Indicate yielding in currentOp() with an explicit field.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      In the output to db.currentOp(), the fact that an operation has yielded is indicated by the replacement of the first letter of the "ns" field with a "?". We should have an explicit field instead, e.g.,

      {yielded: true}

      . If the "?" character indicates things other than yielding, then we should have fields that describe those conditions, too.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kbanker Kyle Banker
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: