move appendWriteConcernErrorToCmdResponse() into cluster_commands_common.cpp

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.8
    • Component/s: Sharding
    • None
    • Sharding 2017-06-19
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Jessica Yu (Inactive)
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: