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

mongodump fails with CursorNotFound

    • Type: Icon: Investigation Investigation
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.4.0
    • Component/s: None
    • Environment:
      Ubuntu 20.04 5.4.0-1038-aws, mongodb 4.4.0, mongodump 100.3.0-1-g0536cca3

      Problem Description

      backing up with mongodump fails with CursorNotFound

      mongodump --username xxx --authenticationDatabase admin --ssl --host db2 --oplog --gzip --archive
      Failed: archive writer: error writing data for collection `cureatr.user_messages` to disk: error reading collection: (CursorNotFound) cursor id 8068934611190387251 not found / Mux ending but selectCases still open 4
      

       

      Steps to Reproduce

      run mongodump, sometimes it fails sometimes it works

      Expected Results

      always works

      Actual Results

      sometimes fails

      Additional Notes

      attached are the mongodb.log entries containing "mongodump" during this failed backup

        1. md.log
          993 kB
          Andrew Wason

            Assignee:
            Unassigned Unassigned
            Reporter:
            rectalogic Andrew Wason
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: