Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-201

When connected to a replica set a background thread should monitor the replica set

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: 1.0
    • Component/s: Feature Request
    • Labels:
      None

      When connected to a replica set a background thread should monitor the replica set by polling isMaster for each member. If a secondary goes offline it should be removed from the list of secondaries. When a secondary comes back online (or a new member is added to the replica set) it should be automatically detected and added to the list of secondaries without having to call MongoServer.Reconnect.

      Not that in a heavily loaded environment failed secondaries will almost certainly be detected during a regular operation, as they are many times more frequent than the background thread polling. However, the background thread is the only way that returning or newly added secondaries will get added back to the list of secondaries.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: