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

mongodump fails when capped collection position lost

    XMLWordPrintable

Details

    • Investigation
    • Status: Waiting (Blocked)
    • Major - P3
    • Resolution: Unresolved
    • 3.2.10
    • None
    • mongodump
    • None
    • Amazon EC2 instance

      Linux 4.4.8-20.46.amzn1.x86_64 #1 SMP Wed Apr 27 19:28:52 UTC 2016 x86_64 x86_64 GNU/Linux

      mongodump 3.2.10

    Description

      mongodump exits with a successful (0) exit status after emitting this message:

      Failed: archive writer: error reading collection: Executor error during find command: CappedPositionLost: CollectionScan died due to position in capped collection being deleted. Last seen record id: RecordId(170604747) / Mux ending but selectCases still open 4
      

      The database is not fully dumped when mongodump exits.

      The only capped collection is system.profile. The database server is a standalone mongod instance, not in a replica set. The mongodump command line is:

      mongodump -u <user> -p <password> --authenticationDatabase <auth db> --verbose --archive --gzip
      

      Will this happen with other capped collections, too?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              blunney Bob Lunney
              Votes:
              1 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated: