renaming a collection fails in mongos if collection was created by a different mongos

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.1
    • Component/s: Sharding
    • None
    • ALL
    • Hide

      This is simple to reproduce using two shells, each connected to a different mongos.

      • first shell: db.dropDatabase()
      • second shell: db.createCollection("foo")
      • first shell: db.foo.renameCollection("bar")
      Show
      This is simple to reproduce using two shells, each connected to a different mongos. first shell: db.dropDatabase() second shell: db.createCollection("foo") first shell: db.foo.renameCollection("bar")
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The error message is:

      { 
       "code" : 13140, 
       "ok" : 0.0,
       "errmsg" : "exception: Don't recognize source or target DB" 
      }
      

            Assignee:
            Kaloian Manassiev
            Reporter:
            Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: