[SERVER-36965] Ensure setUp writes in `safe_secondary_reads_single_migration_suspend_range_deletion.js` get propagated to the shard secondary Created: 31/Aug/18 Updated: 29/Oct/23 Resolved: 12/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.6.7, 4.1.2 |
| Fix Version/s: | 3.6.10, 4.0.5, 4.1.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Sprint: | Sharding 2018-09-24 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
From investigating a build failure, I concluded that it is possible that write done in safe_secondary_reads_single_migration_suspend_range_deletion.js might not have propagated to the secondary node. Specifically, my hypothesis is that:
I have no way of proving that through the logs, but instead I want to make all setUp writes, like the one here use {w:2} write concern in order to ensure both nodes get the document before proceeding with the rest of the test. Another more generic solution could be to call awaitReplication after the setUp call here in order to ensure all existing and future tests will wait. |
| Comments |
| Comment by Githook User [ 21/Nov/18 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: (cherry picked from commit 626567bcde38521d76834db0c59e1aee62344b69) |
| Comment by Githook User [ 16/Nov/18 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: (cherry picked from commit 626567bcde38521d76834db0c59e1aee62344b69) |
| Comment by Githook User [ 12/Sep/18 ] |
|
Author: {'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}Message: |