[SERVER-30886] DB.prototype.copyDatabase() doesn't inherit session when using SCRAM-SHA-1 Created: 30/Aug/17 Updated: 08/Jan/24 Resolved: 10/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | todo_in_code | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Sharding
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| 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.
Note: This issue was found via manual code inspection of all usages of DB.prototype.getMongo() during |
| Comments |
| Comment by Maria van Keulen [ 10/Aug/18 ] |
|
Closing since the copyDB command was removed as of |
| Comment by Gregory McKeon (Inactive) [ 19/Mar/18 ] |
|
Sending to sharding because it's sessions related. |