Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29567

move appendWriteConcernErrorToCmdResponse() into cluster_commands_common.cpp

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

      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 Jessica Yu
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: