Aggregate cursor failure when read preference not PRIMARY

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.7
    • Affects Version/s: 2.6
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the aggregate command is run against a secondary with the cursor option any getMore calls on the resulting cursor will raise OperationFailure. The problem is caused by the cursor not knowing which server it was created on. The attached patch to test_collection demonstrates the issue.

              Assignee:
              Bernie Hackett
              Reporter:
              Bernie Hackett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: