Implement replicated truncates for collections

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: