[SERVER-9441] Secondaries execute distinct/aggregate commands irrespective of slaveOk bit Created: 23/Apr/13 Updated: 11/Jul/16 Resolved: 18/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Replication |
| Affects Version/s: | 2.4.1 |
| Fix Version/s: | 2.5.3 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Randolph Tan |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce: | I have a test.foo database, which contains a single document, in a replica set. I then connect to a secondary of that replica set in standalone mode:
Map/reduce and count commands both fail unless I set slaveOk:
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comments |
| Comment by auto [ 18/Sep/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by Matt Dannenberg [ 17/Sep/13 ] |
|
not quite, that ticket fixed the case where sharded agg could contact the secondary contacting a secondary directly still lets your run agg without slaveOk |
| Comment by Daniel Pasette (Inactive) [ 17/Sep/13 ] |
|
the aggregation portion of this was fixed with |
| Comment by Dwight Merriman [ 31/May/13 ] |
|
yeah i guess it shouldn't do that. |