Add generic support for additional flags to db.copyDatabase wrapper

XMLWordPrintableJSON

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

      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:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Victor Hooi (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: