[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: |
|
||||||||||||||||||||
| 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: |
| Comment by Githook User [ 29/Nov/22 ] |
|
Author: {'name': 'Matt Kneiser', 'email': 'matt.kneiser@mongodb.com', 'username': 'themattman'}Message: |