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

systemFlags missing from collStats command result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.7.7
    • Fix Version/s: None
    • Component/s: Diagnostics
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL

      Description

      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
      }
      >

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: