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

PyMongo should send aggregate commands with $out to primary nodes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.9
    • Affects Version/s: 3.7.1
    • Component/s: None
    • None

      According to server selection spec aggregate with $out should be treated as a write command.

      Python driver honors read preference and sends it to secondary resulting in errors.

       

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: