Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56316

Unable to perform mongodump getting an error with collection size issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: 3.4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Command
      /usr/bin/mongodump -u ********* -p ***************** --port $port --host $server --authenticationDatabase admin --out /mongodb/files/backups/tmp/dbname_2021-04-22_16.04.23 --db dbname --ssl --sslAllowInvalidCertificates --excludeCollectionsWithPrefix=system --verbose=5

      Logs
      2021-04-22T09:14:23.567-0700 will listen for SIGTERM, SIGINT, and SIGKILL

      2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo:

      { $eq: null }

      }, {} ] } } exceeds maximum document size

      Show
      Command /usr/bin/mongodump -u ********* -p ***************** --port $port --host $server --authenticationDatabase admin --out /mongodb/files/backups/tmp/dbname_2021-04-22_16.04.23 --db dbname --ssl --sslAllowInvalidCertificates --excludeCollectionsWithPrefix=system --verbose=5 Logs 2021-04-22T09:14:23.567-0700 will listen for SIGTERM, SIGINT, and SIGKILL 2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo: { $eq: null } }, {} ] } } exceeds maximum document size
    • Story Points:
      1

      Description

      Unable to perform mongodump getting an error with collection size issues

      Error:

      2021-04-22T09:14:23.690-0700 Failed: error counting dbname.collectionname: Total size of documents in collection_DesignDetails matching { $match: { $and: [ { PartNo:

      { $eq: null }

      }, {} ] } } exceeds maximum document size

        Attachments

          Activity

            People

            Assignee:
            edwin.zhou Edwin Zhou
            Reporter:
            bharath_achar@outlook.com Bharath Kumar CM
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: