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

Express `insertRecord` in terms of `insertRecords` in the RecordStore interface

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.5
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Sharding 2018-11-05
    • 45

      Currently, both insertRecord and insertRecords are exposed as virtual functions on the RecordStore interface, however most implementations express insertRecords as a plain loop over insertRecord except for WiredTiger, which actually supports vectored insert.

      We should inverse this order of implementation similar to insertRecordsWithDocWriter.

      While there, also the timestamps input parameters to insertRecords should be made constant.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: