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

XMLWordPrintableJSON

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

      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
            Reporter:
            Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: