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

Do a sync_refresh before checking out a socket

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: None
    • Labels:

      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

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

              Dates

              Created:
              Updated:
              Resolved: