Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-176

Ability to choose which slaves to (not) read from

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0RC1
    • Component/s: pecl-mongo
    • Labels:
    • # Replies:
      8
    • Last comment by Customer:
      true

      Description

      The latest 1.1.0 release includes the ability for the driver to read from slaves. By default it will randomly pick any of the members in a replica set.

      There are some instances where we would want to exclude certain members e.g. if the member is used for disaster recovery only and is in a different data centre or if the member has a syncdelay.

      Therefore it would be useful to be able to specify members to exclude. By default it would include all, but with the option to provide a blacklist (rather than a whitelist since that would require changes every time we added a server).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              derick Derick Rethans
              Reporter:
              boxedice David Mytton
              Participants:
              Last commenter:
              Rathi Gnanasekaran
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 46 weeks, 2 days ago
                Date of 1st Reply: