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

mongoexport only exports one shard's worth of data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.1
    • Component/s: Tools
    • Labels:
      None
    • Operating System:
      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

            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: