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

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

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • JavaScript, Shell
    • Replication

    Description

      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:{}

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: