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