Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41530

For uncapped collections, CollectionBulkLoaderImpl::insertDocuments should batch the documents and commits the batch in a single WriteUnitOfWork

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • v4.2
    • Repl 2019-06-17, Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29
    • 0

      Since CollectionBulkLoaderImpl is used only by initial sync, modify  CollectionBulkLoaderImpl::insertDocuments such that it batches the documents and performs batch insertion in a single WriteUnitOfWork. This batching applies only to uncapped collections which have either CollectionBulkLoaderImpl::_idIndexBlock or CollectionBulkLoaderImpl::_secondaryIndexesBlock set.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: