[SERVER-39332] Prevent test from dropping collections directly against a shard Created: 01/Feb/19 Updated: 29/Oct/23 Resolved: 25/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1, 4.2.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Blake Oler |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 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.2
|
||||||||||||||||||||||||
| Sprint: | Sharding 2019-10-21, Sharding 2019-11-04 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 19 | ||||||||||||||||||||||||
| Description |
| Comments |
| Comment by Githook User [ 03/Dec/19 ] |
|
Author: {'email': 'william.schultz@mongodb.com', 'name': 'William Schultz', 'username': 'will62794'}Message: |
| Comment by Githook User [ 28/Oct/19 ] |
|
Author: {'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler'}Message: (cherry picked from commit 06e28da905b16eac09fa62b098d910a8f623b9ba) |
| Comment by Githook User [ 25/Oct/19 ] |
|
Author: {'username': 'BlakeIsBlake', 'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler'}Message: |
| Comment by Blake Oler [ 29/Jul/19 ] |
|
kaloian.manassiev The situation is outlined by janna.golden in the comments for BF-11779. The ability to remove a shard while a migration is happening is what allows this to happen. |
| Comment by Kaloian Manassiev [ 29/Jul/19 ] |
|
From reading the test I believe that the balancer is on so that chunks can leave the shard, which is being removed. I am having difficulty seeing where does |
| Comment by Blake Oler [ 01/Jul/19 ] |
|
It seems like the issue here is actually the undefined interaction between removeShard and migrations – the related ticket |
| Comment by Kaloian Manassiev [ 15/Feb/19 ] |
|
Whoever picks that up, this test is doing unsupported action of dropping collections against the shard, so the test should be fixed instead. |