[SERVER-24132] CopyDatabase won't read from Secondary with SCRAM-SHA1 Created: 11/May/16  Updated: 28/Sep/16  Resolved: 17/Aug/16

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Improvement Priority: Minor - P4
Reporter: John Page Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-8918 CopyDatabase won't read from Secondar... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2016-08-26
Participants:

 Description   

When you use copyDatabase helper in the shell there is no read preference option - however the copydb command has one.

I want to copydb from a secondary - but I cannot as I have Auth V5. This is a request for the commands/helpers to be updated to support read prefs with SCRAM-SHA1.



 Comments   
Comment by Matt Cotter [ 17/Aug/16 ]

The copyDatabase command now has a slaveOk parameter.

Comment by Githook User [ 17/Aug/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-24132 add slaveOk to copyDB helper
Branch: master
https://github.com/mongodb/mongo/commit/f68ec54403b78d185f5d9c87943a82ebb5166b81

Comment by John Page [ 11/May/16 ]

doesnt support secondary reads

Generated at Thu Feb 08 04:05:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.