-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
Sharding
-
ALL
DB.prototype.copyDatabase() calls through to Mongo.prototype.copyDatabaseWithSCRAM() when the authentication mechanism is configured to be "SCRAM-SHA-1". The Mongo.prototype.copyDatabaseWithSCRAM() function is implemented in C++ and doesn't use the DriverSession underlying the DB object.
// Use the copyDatabase native helper for SCRAM-SHA-1 if (mechanism == "SCRAM-SHA-1") { return this.getMongo().copyDatabaseWithSCRAM( fromdb, todb, fromhost, username, password, slaveOk); }
Note: This issue was found via manual code inspection of all usages of DB.prototype.getMongo() during SERVER-30686.
- is related to
-
SERVER-30686 Integrate retryWrites into mongo shell's SessionOptions
- Closed
- related to
-
SERVER-43462 Remove cloneDatabase and copyDatabase shell helpers
- Closed