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

Add initial sync unittests for metadata retries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.5.2
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2016-10-10, TIG 2016-11-21, Repl 2016-12-12, Repl 2017-02-13

    Description

      Write tests that send failed responses and then successful responses for the following commands, checking that retries lead to a successful result:

      1. listIndexes
      2. find on a collection during a collection clone
      3. sync source selection
      4. find on the oplog when querying the upstream node for the last oplog entry
      5. listDatabases
      6. listCollections

      Write tests for the OplogFetcher to ensure it retries and does not cause initial sync to fail on retryable errors

      Write tests for the DataReplicator to test that larger errors lead to a restart of initial sync:

      1. Rollback
      2. Sync source changes
      3. Retry exhaust on any of the above retryable errors

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: