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

mongodump fails with CursorNotFound

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

        1. md.log
          993 kB

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: