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

PyMongo should send aggregate commands with $out to primary nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.7.1
    • 3.9
    • None
    • None

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: