[SERVER-70552] explore using BatchedWriteContext for cross-db collection renames Created: 13/Oct/22  Updated: 29/Oct/23  Resolved: 30/Nov/22

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Matt Kneiser
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-71670 write js test for rename collection a... Closed
related to SERVER-72603 Enable Batched Rename Collection Acro... Closed
related to SERVER-76408 create feature flag for SERVER-70903 Closed
is related to SERVER-64565 Create Feature flag for PM-2780 Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-10-31, Execution Team 2022-11-14, Execution Team 2022-12-12, Execution Team 2022-11-28
Participants:

 Description   

The BatchedWriteContext is currently used for multi-deletes even though it also supports other CRUD operations such as inserts/updates. It would be interesting to explore using batched inserts for the document copy stage of the renameCollection command in the case where we are renaming a collection across databases.



 Comments   
Comment by Githook User [ 02/Dec/22 ]

Author:

{'name': 'Matt Kneiser', 'email': 'matt.kneiser@mongodb.com', 'username': 'themattman'}

Message: SERVER-70552 Cleanup renames across databases
Branch: master
https://github.com/mongodb/mongo/commit/a879733c3c19b420ed86d20bfd60cb835ccb64d4

Comment by Githook User [ 29/Nov/22 ]

Author:

{'name': 'Matt Kneiser', 'email': 'matt.kneiser@mongodb.com', 'username': 'themattman'}

Message: SERVER-70552 Batch inserts for cross-DB collection renames
Branch: master
https://github.com/mongodb/mongo/commit/445e80440cff2475c51cde86efacc4d0dcd99676

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