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

mongoexport only exports one shard's worth of data

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 1.9.0
    • 1.9.1
    • Tools
    • None
    • ALL

    Description

      Run:

      $ python simple-setup.py --chunksize=1

      In the shell:

      > for(i=0;i<10000000;i++) {db.foo.insert(

      {x:1,y:i,date:new Date(), str:"all the talk on the market"}

      ); }
      > db.foo.count()
      10000000

      Export this collection:

      $ mongoexport -d test -c foo -o foo.json
      connected to: 127.0.0.1
      exported 2610450 records

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            kristina Kristina Chodorow (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: