[SERVER-83440] Revert support for `fromMigrate` in batched delete stage Created: 20/Nov/23  Updated: 21/Nov/23  Resolved: 21/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-77543 Support `fromMigrate` in batched dele... Closed
Related
related to SERVER-78317 Investigate BatchedDeleteStage assumi... Closed
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2023-11-27
Participants:

 Description   

The support for fromMigrate in the batched deletes (introduced with SERVER-77543) is no longer required.

The idea was to use batched delete in the range deleter, but after some testing we highlighted that this would increase latency causing an impact on the user's workload (see SERVER-66279).

Additionally, this logic assumes the documents will not change during the migration, and it is not necessary to ensure they still match before deleting. There is concern this assumption is not valid, as users can connect directly to the shard.



 Comments   
Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-83440 Revert support for `fromMigrate` in batched delete stage
Branch: master
https://github.com/mongodb/mongo/commit/a4820d81e97d18e68cd2311d1c2a9a46b9350f13

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