[SERVER-50626] Race in read_concern_majority_getmore_secondaries.js Created: 28/Aug/20 Updated: 29/Oct/23 Resolved: 01/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0, 4.2.10, 4.4.2, 4.0.21 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0, v3.6
|
||||||||||||||||
| Sprint: | Repl 2020-09-07 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 50 | ||||||||||||||||
| Description |
|
The test stops replication on two secondaries using the rsSyncApplyStop failpoint, then writes to the primary. It assumes that these writes will not be majority committed. However, it's possible for one or more secondaries to continue replicating and acknowledging writes until they notice the failpoint has been set. Let's use the waitForFailPoint command to ensure replication has really stopped before executing the writes that we don't want committed. |
| Comments |
| Comment by Githook User [ 09/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: (cherry picked from commit b5467de6410d61c77adc352df0291805df816f7d) |
| Comment by Githook User [ 08/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: (cherry picked from commit b5467de6410d61c77adc352df0291805df816f7d) |
| Comment by Githook User [ 08/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: (cherry picked from commit b5467de6410d61c77adc352df0291805df816f7d)
|
| Comment by Githook User [ 01/Sep/20 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}Message: |