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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.3.1
    • Replication
    • None
    • Fully Compatible
    • v4.2
    • Repl 2019-06-17, Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29
    • 0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: