PyMongo should send aggregate commands with $out to primary nodes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.9
    • Affects Version/s: 3.7.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Hackett
              Reporter:
              Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: