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

Only compute WriteConcernResult.writtenTo for CmdGetLastError.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2019-09-23, Repl 2019-10-07

      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.

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

              Created:
              Updated:
              Resolved: