[SERVER-1616] defaults for getlastError() Created: 11/Aug/10  Updated: 20/Aug/10  Resolved: 20/Aug/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kenny Gorman Assignee: Eliot Horowitz (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

We want to be able to specify on the server level a default for getlastError(). For instance:

mongod --getlasterror=2 ...

This way we can set the SLA for durability at the server level within the operations group of our organization and not have to worry about changes in code. It's ok for getlastError() in the code to override it however.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 20/Aug/10 ]

See SERVER-1598

Comment by Kenny Gorman [ 18/Aug/10 ]

This covers it from the docs, but not implemented in 1.6.0:

settings:

{ [heartbeatSleep : <seconds>] [, heartbeatTimeout : <seconds>] [, heartbeatConnRetries : <n>] [, getLastErrorDefaults: <lasterrdefaults>] }
Generated at Thu Feb 08 02:57:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.