[SERVER-2480] Respect clients' wishes for slaveOk count() Created: 04/Feb/11 Updated: 03/Feb/17 Resolved: 03/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client, Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
This would be useful if we want to support read-only queries while there is no master |
| Comments |
| Comment by Mathias Stearn [ 03/Feb/17 ] |
|
It's been a while, but if I had to guess, the issue was either that the count command didn't respect slaveOK (it is possible that no commands did at that point), or that the shell didn't set it for count(). I checked and neither of those are the case in master so I'm closing this out. |