-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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.