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

Empty "ns" field in currentOp for index builds

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: 4.3.4
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-04-06

      > db.currentOp();
      ...
                     {
                              "type" : "op",
                              "host" : "hot-potato:20020",
                              "desc" : "IndexBuildsCoordinatorMongod-0",
                              "active" : true,
                              "currentOpTime" : "2020-03-04T15:06:51.107-0500",
                              "opid" : 51,
                              "secs_running" : NumberLong(21),
                              "microsecs_running" : NumberLong(21991057),
                              "op" : "command",
                              "ns" : "",
                              "command" : {
                                      "createIndexes" : "test",
                                      "indexes" : [
                                              {
                                                      "v" : 2,
                                                      "key" : {
                                                              "a" : 1
                                                      },
                                                      "name" : "a_1",
                                                      "background" : true
                                              }
                                      ],
                                      "lsid" : {
                                              "id" : UUID("7ee7f65b-d9fa-4009-84b0-5561b7f25744")
                                      },
                                      "$db" : "test"
                              },
      ...
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: