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

Only compute WriteConcernResult.writtenTo for CmdGetLastError.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2019-09-23, Repl 2019-10-07

    Description

      CmdGetLastError is the only caller of waitForWriteConcern that cares about WriteConcernResult.writtenTo. Thus, this can be improved by computing the writtenTo array for CmdGetLastError only and removing it from waitForWriteConcern.

      Attachments

        Activity

          People

            lingzhi.deng@mongodb.com Lingzhi Deng
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: