-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.1
-
Component/s: None
-
None
Database.command doesn't currently respect the read preference of the calling collection or cursor. This affects commands like group, distinct, count, and inline_map_reduce. The work-around is to set Database.read_preference to whatever preference you want for these commands.