[SERVER-29567] move appendWriteConcernErrorToCmdResponse() into cluster_commands_common.cpp Created: 12/Jun/17  Updated: 14/Jun/17  Resolved: 14/Jun/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.5.8
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Jessica Yu
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-29566 link cluster_commands_common.cpp into... Closed
Sprint: Sharding 2017-06-19
Participants:

 Description   

The method appendWriteConcernErrorToCmdResponse() is currently only linked into mongos, but is used by a command that is moving to the config server.

It is the only (standalone) function in the file it exists in (sharded_command_processing.

{h,cpp}), and can instead be moved to cluster_commands_common.{h,cpp}

.

If this ticket is done after SERVER-29566, this will make appendWriteConcernErrorToCmdResponse automatically linked into both mongos and mongod.


Generated at Thu Feb 08 04:21:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.