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

mongoexport error when exporting oplog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mongoexport
    • Labels:
      None
    • Backport Requested:
      v4.0

      Description

      In all current versions of 4.0, mongoexport has the following error when attempting to export local.oplog.rs:

      $ mongoexport --db local --collection "oplog.rs"
      2019-05-15T16:39:32.942-0400	connected to: localhost
      2019-05-15T16:39:32.942-0400	Failed: error processing query: ns=local.oplog.rsTree: $and
      Sort: {}
      Proj: {}
       planner returned error: bad hint
      

      This command works as expected in 3.6 and below.

        Attachments

          Activity

            People

            Assignee:
            david.golden David Golden
            Reporter:
            arnie.listhaus Arnie Listhaus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: