Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-383

Do a sync_refresh before checking out a socket

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • None

    Description

      The case that I most want to use :refresh_interval for is where the replica set master has recently stepped down, and a mongo operation is about to happen for the first time. So before the socket is checked out, it'd be great to do a sync_refresh call to determine the new state of the cluster, rather than just doing it on checkin.

      Attachments

        Activity

          People

            kbanker Kyle Banker
            gdb Greg Brockman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: