[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:
Related
related to CXX-179 Support Read Preference for Commands Closed
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.

Generated at Thu Feb 08 03:00:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.