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

mongoexport error when exporting oplog

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongoexport
    • Labels:
      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@mongodb.com David Golden
            Reporter:
            arnie.listhaus@mongodb.com Arnie Listhaus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: