Add more DataReplicator::initialSync unit tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.11
    • Affects Version/s: None
    • Component/s: Replication
    • Fully Compatible
    • Repl 16 (06/24/16), Repl 17 (07/15/16), Repl 18 (08/05/16), Repl 2016-08-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Add tests to cover conditions (need to prio and decide which are important/covered):

      • No dbs
      • Empty db(s)
      • No indexes on a collection
      • Lots of indexes on a collection (more than limit)
      • Losing sync source (due connection timeout versus query/command timeouts)
      • Changing to a new sync source after a failure in a previous attempt
      • Active writes during clones (start OpTime != end OpTime)
        • With new databases/collections create
        • With new unique indexes (and updates which violate unique index constraint during apply phase)
        • With map/reduce, apply ops, drop/create, etc.
      • Sync source rollback during
        • Collection clone
        • While getting latest oplog OpTime (for minvalid)
        • Oplog apply phase

            Assignee:
            Benety Goh
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: