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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.5
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Sharding 2018-11-05
    • Linked BF Score:
      45

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: