[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:
Backports
Depends
Problem/Incident
is caused by SERVER-69603 Do not report drop events as part of ... Closed
is caused by SERVER-71085 DropCollectionCoordinator should only... Closed
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: SERVER-71880 Expose fromMigrate parameter in dropCollection() API methods

(cherry picked from commit d25e0fcfe72f2a39f744e3e1e085361ff73184ad)
Branch: v6.0
https://github.com/mongodb/mongo/commit/5928ed5d805665d9256f65c797a5eb0be5425631

Comment by Githook User [ 19/Dec/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-71880 Expose fromMigrate parameter in dropCollection() API methods
Branch: master
https://github.com/mongodb/mongo/commit/d25e0fcfe72f2a39f744e3e1e085361ff73184ad

Generated at Thu Feb 08 06:20:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.