Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
Sharding
-
ALL
Description
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.
Attachments
Issue Links
- is related to
-
SERVER-30686 Integrate retryWrites into mongo shell's SessionOptions
-
- Closed
-
- related to
-
SERVER-43462 Remove cloneDatabase and copyDatabase shell helpers
-
- Closed
-