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

getLastError should piggy back on the insert/update/upsert operations

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Performance
    • None

    Description

      All operations to save data to mongodb should also let the getLastError parameters on the original request. This will prevent an extra network roundtrip to fetch the GLE results.

      This is extremely important to improve the latency of the save operations by 10s/100s of microseconds.

      Attachments

        Activity

          People

            Unassigned Unassigned
            inder@integral.com Inder Sabharwal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: