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

Add generic support for additional flags to db.copyDatabase wrapper

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell

      The db.copyDatabase shell command provides a convenient wrapper around the copydb command.

      However, there is currently no support for setting the slaveOk flag.

      This prevents you from being able to do a database copy from secondaries in a replica set.

      At this stage, the only missing flag is slaveOk, however, this doesn't preclude the addition of additional flags into copydb in the future - hence, generic support for optional flags would be very useful.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            victor.hooi Victor Hooi
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: