[SERVER-43252] Only compute WriteConcernResult.writtenTo for CmdGetLastError. Created: 10/Sep/19  Updated: 29/Oct/23  Resolved: 03/Oct/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Lingzhi Deng Assignee: Lingzhi Deng
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-09-23, Repl 2019-10-07
Participants:

 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.



 Comments   
Comment by Githook User [ 03/Oct/19 ]

Author:

{'name': 'Lingzhi Deng', 'username': 'ldennis', 'email': 'lingzhi.deng@mongodb.com'}

Message: SERVER-43252: Only compute WriteConcernResult.writtenTo for CmdGetLastError
Branch: master
https://github.com/mongodb/mongo/commit/ef5c6b85dd873b69a12d919932e54c7b6711b14d

Generated at Thu Feb 08 05:02:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.