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

Change ReplicationCoordinatorImpl and ReplicationExecutor constructors to take owned objects by unique_ptr

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.2
    • None
    • Replication
    • None
    • Fully Compatible
    • Sharding 2017-02-13

    Description

      The constructors of ReplicationCoordinatorImpl and ReplicationExecutor predate C++11 support in the MongoDB codebase, and so receive bare pointers to objects that they actually own. This task is to change the constructors and some of the associated test infrastructure to transfer ownership by passing unique_ptr, as in more modern components.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: