[SERVER-32492] idhack_sharded.js should use _waitForDelete:true in moveChunk Created: 29/Dec/17 Updated: 30/Oct/23 Resolved: 29/Dec/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.3, 3.7.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Tess Avitabile (Inactive) |
| 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: |
v3.6
|
||||||||
| Sprint: | Query 2018-01-15 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
idhack_sharded.js runs a moveChunk command without _waitForDelete:true. It then inserts an orphan document and expects to see the result in the count command. However, if range deletion has not yet completed, the document could be deleted in between the insert and the count. |
| Comments |
| Comment by Githook User [ 10/Jan/18 ] |
|
Author: {'email': 'tess.avitabile@mongodb.com', 'name': 'Tess Avitabile', 'username': 'tessavitabile'}Message: (cherry picked from commit 7dc686af406a9651c9555981ac67fb7f487e4ae5) |
| Comment by Githook User [ 29/Dec/17 ] |
|
Author: {'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile', 'name': 'Tess Avitabile'}Message: |