Collection->find() ignores configured ReadPreference

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 0.2.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/10gen-labs/mongo-php-library-prototype/blob/master/src/Collection.php#L394

      It appears the ReadPreference the Collection was created with is ignored, and hardcoded instead to the primary.

            Assignee:
            Jeremy Mikola
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: