Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-302

Database.command should respect the caller's read preference

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • 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.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: