[SERVER-71880] _shardsvrDropCollectionParticipant with fromMigrate=true does not abort index builds Created: 06/Dec/22 Updated: 29/Oct/23 Resolved: 19/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.4, 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Paolo Polato |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Sharding EMEA
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Backport Requested: |
v6.2, v6.0
|
||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 140 | ||||||||||||||||||||
| Description |
|
When dropping a collection, we abort any index builds on that collection before actually performing the drop. However, when the _shardsvrDropCollectionParticipant command is run with fromMigrate set to true (which currently is the case on all non-primary shards participating in the drop), this index build abort logic gets bypassed. |
| Comments |
| Comment by Githook User [ 28/Dec/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: (cherry picked from commit d25e0fcfe72f2a39f744e3e1e085361ff73184ad) |
| Comment by Githook User [ 19/Dec/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |