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

Do a sync_refresh before checking out a socket

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.2
    • Affects Version/s: 1.5.1
    • Component/s: None

      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.

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

              Created:
              Updated:
              Resolved: