[SERVER-3804] "slaveok" shouldn't be used, especially in error messages, since every function uses "slaveOk" Created: 11/Sep/11 Updated: 11/Jul/16 Resolved: 12/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 2.0.0-rc2 |
| Fix Version/s: | 2.1.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Patrick Collison | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
It's a pain that the shell tells you that "slaveok=false" and then having the fix be "rs.slaveOk()". The error should be "slaveOk=false", which is used almost everywhere else. This patch fixes the last couple of occurrences of "slaveok". |
| Comments |
| Comment by auto [ 12/Sep/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: veok" shouldn't be used, especially in error messages, since every function uses "slaveOk" |
| Comment by Patrick Collison [ 12/Sep/11 ] |
|
Sure, done. |
| Comment by Eliot Horowitz (Inactive) [ 12/Sep/11 ] |
|
Hi Patrick, thanks for the patch. |