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

Make initial sync more tolerant of sync source changing

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None

      e.g., /* apply relevant portion of the oplog
      */
      {
      isyncassert( "initial sync source must remain readable throughout our initial sync [2]", source->state().readable() );
      if( ! initialSyncOplogApplication(source, /applyGTE/startingTS, /minValid/mvoptime) ) { // note we assume here that this call does not throw

      There are a couple of places in initialSyncOplogApplication that this could be improved, too.

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: