-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 2016-10-10, TIG 2016-11-21, Repl 2016-12-12, Repl 2017-02-13
Write tests that send failed responses and then successful responses for the following commands, checking that retries lead to a successful result:
- listIndexes
- find on a collection during a collection clone
- sync source selection
- find on the oplog when querying the upstream node for the last oplog entry
- listDatabases
- 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:
- Rollback
- Sync source changes
- Retry exhaust on any of the above retryable errors
- is related to
-
SERVER-25702 add support to OplogFetcher for restarting oplog query
- Closed
-
SERVER-23750 Make DataReplicator::initialSync the default initial sync method
- Closed
-
SERVER-25874 Add serverParameter configuration for initial sync metadata retry params.
- Closed
-
SERVER-27052 Add asynchronous operation support to DataReplicator
- Closed