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

systemFlags missing from collStats command result

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.7.7
    • Component/s: Diagnostics
    • None
    • Minor Change
    • ALL

      With prior versions of the server the result of the collStats command included a field called "systemFlags" as documented here:

      http://docs.mongodb.org/manual/reference/command/collStats/#output

      Here's the result of collStats with server version 2.6.5:

      > db.version()
      2.6.5
      > db.runCommand({ create : "test" })
      { "ok" : 1 }
      > db.runCommand({ collStats : "test" })
      {
              "ns" : "test.test",
              "count" : 0,
              "size" : 0,
              "storageSize" : 8192,
              "numExtents" : 1,
              "nindexes" : 1,
              "lastExtentSize" : 8192,
              "paddingFactor" : 1,
              "systemFlags" : 1,
              "userFlags" : 1,
              "totalIndexSize" : 8176,
              "indexSizes" : {
                      "_id_" : 8176
              },
              "ok" : 1
      }
      

      and here's the result of collStats with server version 2.7.7:

      > db.version()
      2.7.7
      > db.runCommand({ create : "test" })
      { "ok" : 1 }
      > db.runCommand({ collStats : "test" })
      {
              "ns" : "test.test",
              "count" : 0,
              "size" : 0,
              "numExtents" : 1,
              "storageSize" : 8192,
              "nindexes" : 1,
              "lastExtentSize" : 8192,
              "paddingFactor" : 1,
              "userFlags" : 1,
              "totalIndexSize" : 8176,
              "indexSizes" : {
                      "_id_" : 8176
              },
              "ok" : 1
      }
      >
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: