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

              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  6 years, 47 weeks, 1 day ago
                  Date of 1st Reply: