[SERVER-58363] Replace _xferDeletes and _xferUpdates with one function Created: 08/Jul/21  Updated: 29/Oct/23  Resolved: 14/Jul/21

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-07-12, Sharding EMEA 2021-07-26
Participants:

 Description   

_xferDeletes and _xferUpdates have identical code except for a call to findById in _xferUpdates. These two functions can be replaced by a single function that takes a lambda as an argument. This function will be a free function to allow benchmarking this part of the code more easily.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 14/Jul/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com'}

Message: SERVER-58363 Replace _xferDeletes and _xferUpdates with one function
Branch: master
https://github.com/mongodb/mongo/commit/01c0564ff8d1a23e2f010cf86531bfcef504b934

Generated at Thu Feb 08 05:44:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.