If only slaveDelay'd nodes are available, use them

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.0.6, 2.1.2
    • Affects Version/s: 2.1.1
    • Component/s: Replication
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Eric Milkie
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: