-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Storage Execution
-
ALL
When issuing the renameCollection command with a non-existing target DB, the returned error message is "target namespace exists".
Easy way to reproduce the error: prepend whatever string to the target nss in this line of the jstests/sharding/read_write_concern_defaults_application.js test:
command: {renameCollection: nss, to: "aaa" + nss + "2"}