Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-115

Collection->find() ignores configured ReadPreference

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 0.2.0
    • Component/s: 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:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: