-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
It seems like getParameter doesn't support retrieving all the tunables that setParameter does. That's just silly.
parameters = [ "journalCommitInterval", "logLevel", "notablescan", "traceException", "quiet", "syncdelay" ]; for (var i in parameters) { var p=parameters[i]; var doc = { "getParameter" : 1 }; doc[p]=1; print(p); printjson( db.adminCommand( doc ) ); }
Here's the output under 2.2.0:
journalCommitInterval { "errmsg" : "no option found to get", "ok" : 0 } logLevel { "logLevel" : 0, "ok" : 1 } notablescan { "notablescan" : false, "ok" : 1 } traceException { "errmsg" : "no option found to get", "ok" : 0 } quiet { "quiet" : false, "ok" : 1 } syncdelay { "syncdelay" : 60, "ok" : 1 }
- is duplicated by
-
SERVER-10508 Add command to explicitly query journalCommitInterval after setting it.
- Closed
- is related to
-
SERVER-1843 getParameter() and setParameter() commands (WAS: syncdelay configurable at runtime)
- Closed
- related to
-
SERVER-10515 Replace special cased Parameter with ServerParameters
- Closed
-
SERVER-5266 Make a clearer API for configuring global slowms
- Backlog