Only compute WriteConcernResult.writtenTo for CmdGetLastError.

XMLWordPrintableJSON

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

      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
            Reporter:
            Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: