[SERVER-42617] Race in CloneDocumentsCatchesInsertErrors can causes it to return an unexpected error Created: 02/Aug/19 Updated: 29/Oct/23 Resolved: 14/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.4, 4.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Tommaso Tocci |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day, test-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.2, v4.0
|
||||||||
| Sprint: | Sharding 2019-12-30, Sharding 2020-01-13, Sharding 2020-01-27, Sharding 2020-02-10, Sharding 2020-02-24 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 3 | ||||||||
| Description |
|
When the inserter thread closes the consumer end (because of intentional error by test) while the producer tries to push. To reproduce more easily, simply add a sleepsecs(1) right before this line: |
| Comments |
| Comment by Githook User [ 17/Feb/20 ] |
|
Author: {'name': 'Tommaso Tocci', 'username': 'toto-dev', 'email': 'tommaso.tocci@mongodb.com'}Message: When the batch insertion routine on the consumer thread fails, (cherry picked from commit 957041ffb72ecca2880398312ab8a98669e16322) |
| Comment by Githook User [ 14/Feb/20 ] |
|
Author: {'username': 'toto-dev', 'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com'}Message: When the batch insertion routine on the consumer thread fails, |