[SERVER-24538] Make small_oplog_rs_initsync_static passthrough test to periodically run initial sync with data to sync Created: 13/Jun/16 Updated: 13/Aug/16 Resolved: 19/Jul/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.11 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Judah Schvimer |
| Resolution: | Done | Votes: | 0 |
| Labels: | initialSync | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Sprint: | Repl 17 (07/15/16), Repl 18 (08/05/16) | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
We will start the passthrough with a hidden non-voting member, and after a predefined number of tests stop the node, remove it's data, and restart it so it does an initial sync with the data created in the tests so far. This will happen between tests so that there is no apply ops phase. Thus we will only be testing the collection clone and index building portion of initial sync. |
| Comments |
| Comment by Githook User [ 19/Jul/16 ] |
|
Author: {u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}Message: |
| Comment by Judah Schvimer [ 29/Jun/16 ] |
|
If we start up too many mongods, memory could start to be an issue since all mongods run on the same machine. As a result, we will create a hook that runs after every test, checks if the node is in SECONDARY state, and if so restarts the mongod. |