[SERVER-78665] Implement replicated truncates for collections Created: 05/Jul/23  Updated: 14/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on WT-10307 Enable point in time truncate functio... Open
Related
Assigned Teams:
Storage Execution
Participants:

 Description   

There are some use-cases where truncating the contents of a collection makes sense. This today is being done by performing a coll.deleteMany without a filter, resulting in multiple oplog delete entries being created/replicated and taking a long time to process.

Performing a truncate on a collection would delete the contents of a collection plus all indexes in this situation.


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