db.cloneDatabase(...) returns poor error with non-master source

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Cloning from a slave always fails with this error:

      { "errmsg" : "query failed test.system.namespaces", "ok" : 0 }

      And the source server logs this (since slaveOk is not used on the query):
      Wed Apr 11 16:12:31 [conn8579] assertion 13435 not master and slaveok=false ns:test.system.namespaces query:{}

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: