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

Support projection on ServerStatus sections, and defaulting exclusion

    • Query Execution
    • Fully Compatible

      Extend support for full projection for each ServerStatus section.

      And allow toggling the default inclusion state via "$default" or "$excludeByDefault".

      > db.serverStatus({$default:0, mem:1, metrics:{record:1, "ttl.passes":1}})
      {
      	"host" : "pans.local",
      	"version" : "2.5.0-pre-",
      	"process" : "mongod",
      	"pid" : 20578,
      	"uptime" : 400,
      	"uptimeMillis" : NumberLong(399493),
      	"uptimeEstimate" : 369,
      	"localTime" : ISODate("2013-03-18T00:12:07.147Z"),
      	"mem" : {
      		"bits" : 64,
      		"resident" : 39,
      		"virtual" : 2727,
      		"supported" : true,
      		"mapped" : 272
      	},
      	"metrics" : {
      		"record" : {
      			"moves" : NumberLong(0)
      		},
      		"ttl" : {
      			"passes" : NumberLong(6)
      		}
      	},
      	"ok" : 1
      }
      

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: