Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5706

If only slaveDelay'd nodes are available, use them

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.0.6, 2.1.2
    • Affects Version/s: 2.1.1
    • Component/s: Replication
    • None

      Currently the logic here (https://github.com/mongodb/mongo/blob/e4f3f956888da028bb13a469f99941537f35f272/src/mongo/db/repl/rs_initialsync.cpp#L108) will exclude slaveDelayed nodes (w/greater delays). We should do a second loop if !closest and ignore the slaveDelay check part.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: