mongoexport error when exporting oplog

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongoexport
    • None
    • v4.0

      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.

              Assignee:
              David Golden
              Reporter:
              Arnie Listhaus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: