[SERVER-3275] Add --slaveOk option to mongo (javascript shell) Created: 16/Jun/11 Updated: 03/Feb/17 Resolved: 03/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Participants: | |||||
| Description |
|
Add an option to enable slaveOk for all connections created in the mongo shell instance (basically a default value). We should also add a db.getMongo().setSlaveOkay(false) option to disable it per connection. |