Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2380

mongodump fails against hidden node with authentication enabled

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.2, 100.0.0
    • Affects Version/s: 4.2.0
    • Component/s: mongodump
    • Environment:
      Amazon Linux

      i just upgraded from 4.0.12 to 4.2.0 and my backup job failed last night.  I spent a few hours troubleshooting the issue and it appears mongodump can no longer backup data directly on a secondary like it used to.  If fails to allow listDatabases because it doesnt set rs.slaveOk() first.  For my use case, i have 4 replicas, 3 of which are used by our API and the 4th is hidden just to use for backing up and maybe the occasional long query.  I see that i can specify a read preference, but i need to ensure no impact to the non hidden members which are being queried constantly.  Can we have a parameter to set slaveOk?  I have temporarily downgraded just the hidden replica to 4.0.12 so backups can continue.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            ryan@vivanda.com Ryan Kaltreider
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: